📄 left.js
字号:
function Tree(){
this.loadTree = function(){
var t = getTags(c.o("wrap"),"span");
for(var i=0; i<t.length; i++){
color(t[i]);
}
};
this.listTree = function(s){
var d = "tree_"+s;
var i = "img_"+s;
if(c.o(d).style.display=='block'){
c.o(d).style.display='none';
c.o(i).src = "/club/images/default/f_1.gif";
}else{
c.o(d).style.display='block';
c.o(i).src = "/club/images/default/f_2.gif";
}
};
}
function color(o){
o.onmouseover = function(){
o.style.background="#f6f6f6";
};
o.onmouseout = function(){
o.style.background="none";
}
}
var tree = new Tree();
window.onload = function(){
tree.loadTree();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -