📄 5nodemove.js
字号:
function Mv(n){n.className="mover"}function Mu(n){n.className="mout"}tN="";tN2="所有分类";tN3="1";tN4="";T=top.location.search.substr(1,1);if(T=="t"){T=top.location.search.substring(2);tN3=T}else T="tt";function DisplayDiv(n){var obj=eval("Tree"+n);if(obj.style.display==""){obj.style.display="none";document.all["treeimg"+n].src="img/tree/ti"+Oti+"x.gif"}else{obj.style.display="";ServerScript.src=NodePath(n);document.all["treeimg"+n].src="img/tree/ti"+Oti+"i.gif"}}function N(n){var a=n.split("`");var t='';var b,d=a[0].length+2;var n3;for(var x=1;x<a.length;x++){b=a[0]+a[x].substr(1,2);n3=a[x].substring(3);if(a[x].substr(0,1)=="1"){t+="<nobr><span style='width:"+(d*6)+";height:16px'></span><img src='img/tree/ti"+Oti+"x.gif' id=treeimg"+b+" align=absmiddle onmousedown=DisplayDiv('"+b+"')><span id=N"+b+"3 class=mout onmouseover=Mv(this) onmouseout=Mu(this) onmousedown=Mtree('"+b+"') onclick=\"NodeMove('"+n3+"','"+b+"',1)\">";if(I==b)t+="<b>"+n3+"</b>";else t+=n3;t+="</span></nobr><br><div style='display:none' id=Tree"+b+"><nobr><span style='width:"+(d*6)+"'></span><span style='color:#ff0000'>正在载入节点...</span></nobr></div>"}else{t+="<nobr><span style='width:"+(d*6)+";height:16px'></span><img src='img/tree/ti"+Oti+"o.gif' align='absmiddle'><span id=N"+b+"3 class=mout onmouseover=Mv(this) onmouseout=Mu(this) onclick=\"NodeMove('"+n3+"','"+b+"',0)\">";if(I==b)t+="<b>"+n3+"</b>";else t+=n3;t+="</span></nobr><br>"}}if(t.length<10)t+=" 没有内容";document.all["Tree"+a[0]].innerHTML=t;if(tN4!=""){if(a[0]!=tN4){b=tN4.substring(0,a[0].length+2);ServerScript.src=NodePath(b);document.all["Tree"+b].style.display="";}else tN4=""}}function NodePath(n){var a=parent.getNodeJs(n);return a}function Mtree(n){DisplayDiv(n)}function NodeMove(n1,n2,n3){tN=n2;tN2=n1;tN3=n3;text_3[0].value=n2;text_3[1].value=n1;if(moveState(n2))bt3.disabled=true;else bt3.disabled=false}function moveState(n2){if(I=="")return true;if(I==n2)return true;if(I.length==n2.length+2){if(I.substr(0,I.length-2)==n2)return true}if(I.length<n2.length){if(I==n2.substr(0,I.length))return true}return false}function submit3(){parent.A[0]=I;parent.A[1]=text_3[0].value;parent.work3("make`nodemove")}ServerScript.src="../data/node/t.js";function loadN(m){m+=2;if(m>=I.length)return;DisplayDiv(I.substr(0,m));setTimeout("loadN("+m+")",100)}setTimeout("loadN(0)",500)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -