解决为什么在ie6和火狐游览器javascript不能显示的问题

wld353607 2013-05-14 11:00:20
<DIV class=dtree>
<SCRIPT type=text/JavaScript>
d = new dTree('d');

d.add(2,33333,'客户管理','/work/addbw.asp','客户管理','mainFrame','/skin/default/images/menuico/xs/1.gif','/skin/default/images/menuico/xs/1.gif');
d.add(6,2,'客户添加','/work/addbw.asp','客户添加','mainFrame','/skin/default/images/menuico/xs/6.gif','/skin/default/images/menuico/xs/6.gif');
d.add(8,6,'添加客户','/work/addbw.asp','添加客户','mainFrame','/skin/default/images/menuico/xs/8.gif','/skin/default/images/menuico/xs/8.gif');
d.add(7,2,'客户列表','/work/addbw.asp','客户列表','mainFrame','/skin/default/images/menuico/xs/7.gif','/skin/default/images/menuico/xs/7.gif');
d.add(9,7,'客户列表','/work/addbw.asp','客户列表','mainFrame','/skin/default/images/menuico/xs/9.gif','/skin/default/images/menuico/xs/9.gif');
d.add(3,33333,'项目管理','/work/addbw.asp','项目管理','mainFrame','/skin/default/images/menuico/xs/3.gif','/skin/default/images/menuico/xs/3.gif');
d.add(10,3,'项目管理','/work/addbw.asp','项目管理','mainFrame','/skin/default/images/menuico/xs/10.gif','/skin/default/images/menuico/xs/10.gif');
d.add(11,10,'项目添加','/work/addbw.asp','项目添加','mainFrame','/skin/default/images/menuico/xs/1.gif','/skin/default/images/menuico/xs/1.gif');
d.add(12,10,'所有项目列表','/work/addbw.asp','所有项目列表','mainFrame','/skin/default/images/menuico/xs/page.gif','/skin/default/images/menuico/xs/page.gif');
d.add(13,10,'项目来源设置','/work/addbw.asp','项目来源设置','mainFrame','/skin/default/images/menuico/xs/3.gif','/skin/default/images/menuico/xs/3.gif');
d.add(14,10,'项目阶段设置','/work/addbw.asp','项目阶段设置','mainFrame','/skin/default/images/menuico/xs/4.gif','/skin/default/images/menuico/xs/4.gif');
d.add(15,10,'项目状态设置','/work/addbw.asp','项目状态设置','mainFrame','/skin/default/images/menuico/xs/5.gif','/skin/default/images/menuico/xs/5.gif');
d.add(16,10,'项目分类设置','/work/addbw.asp','项目分类设置','mainFrame','/skin/default/images/menuico/xs/6.gif','/skin/default/images/menuico/xs/6.gif');
d.add(4,33333,'报价管理','/work/addbw.asp','报价管理','mainFrame','/skin/default/images/menuico/xs/4.gif','/skin/default/images/menuico/xs/4.gif');
d.add(17,4,'报价添加','/work/addbw.asp','报价添加','mainFrame','/skin/default/images/menuico/xs/7.gif','/skin/default/images/menuico/xs/7.gif');
d.add(19,17,'报价添加','/work/addbw.asp','报价添加','mainFrame','/skin/default/images/menuico/xs/9.gif','/skin/default/images/menuico/xs/9.gif');
d.add(18,4,'报价列表','/work/addbw.asp','报价列表','mainFrame','/skin/default/images/menuico/xs/8.gif','/skin/default/images/menuico/xs/8.gif');
d.add(20,18,'所有报价单','/work/addbw.asp','所有报价单','mainFrame','/skin/default/images/menuico/xs/10.gif','/skin/default/images/menuico/xs/10.gif');
d.add(5,33333,'合同管理','/work/addbw.asp','合同管理','mainFrame','/skin/default/images/menuico/xs/5.gif','/skin/default/images/menuico/xs/5.gif');
d.add(21,5,'合同添加','/work/addbw.asp','合同添加','mainFrame','/skin/default/images/menuico/xs/1.gif','/skin/default/images/menuico/xs/1.gif');
d.add(23,21,'合同添加','/work/addbw.asp','合同添加','mainFrame','/skin/default/images/menuico/xs/1.gif','/skin/default/images/menuico/xs/1.gif');
d.add(22,5,'合同列表','/work/addbw.asp','合同列表','mainFrame','/skin/default/images/menuico/xs/1.gif','/skin/default/images/menuico/xs/1.gif');
d.add(24,22,'合同列表','/work/addbw.asp','合同列表','mainFrame','/skin/default/images/menuico/xs/1.gif','/skin/default/images/menuico/xs/1.gif');
d.add(25,22,'直接出库合同','/work/addbw.asp','直接出库合同','mainFrame','/skin/default/images/menuico/xs/1.gif','/skin/default/images/menuico/xs/1.gif');
d.add(26,22,'即将到期合同','/work/addbw.asp','即将到期合同','mainFrame','/skin/default/images/menuico/xs/1.gif','/skin/default/images/menuico/xs/1.gif');
d.add(27,22,'我共享给他人合同','/work/addbw.asp','我共享给他人合同','mainFrame','/skin/default/images/menuico/xs/1.gif','/skin/default/images/menuico/xs/1.gif');
d.add(28,22,'他人共享给我合同','/work/addbw.asp','他人共享给我合同','mainFrame','/skin/default/images/menuico/xs/1.gif','/skin/default/images/menuico/xs/1.gif');
window.menuClsID = "0,63,438,178,654,835,124,107,1522,0".split(","); mTabHtml[window.menuClsID[1]] = "<div class='treeRoot'><img src=\"../skin/default/images/elbow-end-minus.gif\" style='position:relative;top:3px'> <a target='mainFrame' href='childhome.asp?key=%CF%FA%CA%DB' onclick='return (\"销售,库存,财务,办公,人资,生产\").indexOf(\"销售\")>=0;'><b class='dhtreetop'>销售功能菜单</b></a></div><div class='treeview' id='tvw_menu63' style='margin-left:16px;_overflow:visiblie'>"+d+"</div>";
</SCRIPT>
</DIV>

...全文
25 1 点赞 打赏 收藏 举报
写回复
1 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
折翼断JJ 2013-05-14
要装个firebug的插件了。
  • 打赏
  • 举报
回复
相关推荐
发帖
其他开发语言
创建于2007-08-27

3381

社区成员

其他开发语言 其他开发语言
申请成为版主
帖子事件
创建了帖子
2013-05-14 11:00
社区公告
暂无公告