ads
8 months ago
control
8 months ago
img
10 years ago
blocker.js
1 week ago
blocker.min.js
1 week ago
embed.js
5 years ago
embed.min.js
7 months ago
front.js
1 day ago
front.min.js
1 day ago
jquery-ui-timepicker-addon.js
10 years ago
jquery-ui-timepicker-addon.min.js
7 months ago
jquery.dataTables.min.js
1 year ago
jquery.validate.js
7 months ago
jquery.validate.min.js
1 week ago
jqueryFileTree.js
5 years ago
jqueryFileTree.min.js
7 months ago
overwatch.js
7 months ago
overwatch.min.js
7 months ago
password-strength.js
2 years ago
password-strength.min.js
7 months ago
simple-scrollbar.js
7 months ago
simple-scrollbar.min.js
7 months ago
simplebar.js
6 years ago
validator.min.js
9 years ago
vue.js
9 months ago
vue.min.js
9 months ago
wpdm-admin.js
1 week ago
wpdm-admin.min.js
1 week ago
wpdm.js
6 months ago
wpdm.min.js
6 months ago
jqueryFileTree.min.js
1 lines
| 1 | if(jQuery)(function($){$.extend($.fn,{fileTree:function(o,h){if(!o)var o={};if(o.root==undefined)o.root="/";if(o.script==undefined)o.script="jqueryFileTree.php";if(o.folderEvent==undefined)o.folderEvent="click";if(o.expandSpeed==undefined)o.expandSpeed=500;if(o.collapseSpeed==undefined)o.collapseSpeed=500;if(o.expandEasing==undefined)o.expandEasing=null;if(o.collapseEasing==undefined)o.collapseEasing=null;if(o.multiFolder==undefined)o.multiFolder=true;if(o.loadMessage==undefined)o.loadMessage="Loading...";$(this).each(function(){function showTree(c,t){$(c).addClass("wait");$(".jqueryFileTree.start").remove();$.post(o.script,{dir:t},function(data){$(c).find(".start").html("");$(c).removeClass("wait").append(data);if(o.root==t)$(c).find("UL:hidden").show();else $(c).find("UL:hidden").slideDown({duration:o.expandSpeed,easing:o.expandEasing});bindTree(c)})}function bindTree(t){$(t).find("LI A").bind(o.folderEvent,function(){if($(this).parent().hasClass("directory")){if($(this).parent().hasClass("collapsed")){if(!o.multiFolder){$(this).parent().parent().find("UL").slideUp({duration:o.collapseSpeed,easing:o.collapseEasing});$(this).parent().parent().find("LI.directory").removeClass("expanded").addClass("collapsed")}$(this).parent().find("UL").remove();showTree($(this).parent(),escape($(this).attr("rel").match(/.*\//)));$(this).parent().removeClass("collapsed").addClass("expanded")}else{$(this).parent().find("UL").slideUp({duration:o.collapseSpeed,easing:o.collapseEasing});$(this).parent().removeClass("expanded").addClass("collapsed")}current_bucket=$(this).data("bucket")!==undefined?$(this).data("bucket"):"";current_folder=$(this).data("prefix")!==undefined?$(this).data("prefix"):""}else{h($(this).attr("rel"),$(this).attr("id"))}return false});if(o.folderEvent.toLowerCase!="click")$(t).find("LI A").bind("click",function(){return false})}$(this).html('<ul class="jqueryFileTree start"><li class="wait">'+o.loadMessage+"<li></ul>");showTree($(this),escape(o.root))})}})})(jQuery); |