在jquery.simple.tree.js里找到这个drag:ture.改为false 就可以了
TREE.option = {
drag: false,//控制拖拽 animate: false, autoclose: false, speed: 'fast', afterAjax: false, afterMove: false, afterClick: false, afterDblClick: false, // added by Erik Dohmen (2BinBusiness.nl) to make context menu cliks available afterContextMenu: false, docToFolderConvert:false };
simpleTree单击控制目录的展开和关闭
afterClick:function(node){
var obj = $('span:first',node).parent(); obj.parent().find("li[class='folder-open']").each(function(){ $(this).attr("class","folder-close"); $(this).find("ul").hide(); }); if(obj.attr("class")=="folder-close"){ obj.attr("class","folder-open"); obj.find("ul").show(); }else{ obj.attr("class","folder-close"); obj.find("ul").hide(); } //alert("text-"+$('span:first',node).text()); },