急!请帮我解释下这段JAVASCRIPT代码 15

varico_Root="http://www.zzsky.cn/effect/images/three_tree_menu/topopen.gif";varico_Fo... var ico_Root = "http://www.zzsky.cn/effect/images/three_tree_menu/topopen.gif";
var ico_Folder1 = "http://www.zzsky.cn/effect/images/three_tree_menu/foldericon.gif";
var ico_Folder2 = "http://www.zzsky.cn/effect/images/three_tree_menu/openfoldericon.gif";
var ico_File = "http://www.zzsky.cn/effect/images/three_tree_menu/htmlicon.gif";
var ico_I = "http://www.zzsky.cn/effect/images/three_tree_menu/I.gif";
var ico_L = "http://www.zzsky.cn/effect/images/three_tree_menu/L.gif";
var ico_L_Child1 = "http://www.zzsky.cn/effect/images/three_tree_menu/Lplus.gif";
var ico_L_Child2 = "http://www.zzsky.cn/effect/images/three_tree_menu/Lminus.gif";
var ico_T = "http://www.zzsky.cn/effect/images/three_tree_menu/T.gif";
var ico_T_Child1 = "http://www.zzsky.cn/effect/images/three_tree_menu/Tplus.gif";
var ico_T_Child2 = "http://www.zzsky.cn/effect/images/three_tree_menu/Tminus.gif";
var ico_O = "http://www.zzsky.cn/effect/images/three_tree_menu/white.gif";
var cengEnd = "";
function clickTree(e)
{
if(e.status == "close")
{
e.status = "open";
eval('document.all.span_' + e.id + ".style.display = 'block';");
clickID = e.id.replace("treeID","")*1;
eval("if(document.all.treeImg_A_" + clickID + ".mark == 'T')document.all.treeImg_A_" + clickID + ".src = ico_T_Child2");
eval("if(document.all.treeImg_A_" + clickID + ".mark == 'L')document.all.treeImg_A_" + clickID + ".src = ico_L_Child2");
eval("document.all.treeImg_B_" + clickID + ".src = ico_Folder2");
}
else if(e.status == "open")
{
e.status = "close";
eval('document.all.span_' + e.id + ".style.display = 'none';");
clickID = e.id.replace("treeID","")*1;
eval("if(document.all.treeImg_A_" + clickID + ".mark == 'T')document.all.treeImg_A_" + clickID + ".src = ico_T_Child1");
eval("if(document.all.treeImg_A_" + clickID + ".mark == 'L')document.all.treeImg_A_" + clickID + ".src = ico_L_Child1");
eval("document.all.treeImg_B_" + clickID + ".src = ico_Folder1");
}
}
是啊 也不知道网上谁写的 还让我看不懂
展开
 我来答
dieslrae
2009-11-01 · TA获得超过1146个赞
知道小有建树答主
回答量:2771
采纳率:0%
帮助的人:0
展开全部
这代码写的真搓
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式