100分相赠 up者有分

sdliubo 2002-09-23 04:13:41
大家看看以下两个网址
这是一个做树的程序 我改用它做了一大半程序才发现它在IE5下有问题
在低于IE6的情况下不能正确显示,可能是其中的JS脚本的问题。
问哪高手能给点指点,请帮忙。
地址如下:
http://www.chinaok.net/Examples/
http://www.chinaok.net/Examples/xTree/xTree.htm
...全文
33 18 打赏 收藏 转发到动态 举报
写回复
用AI写文章
18 条回复
切换为时间正序
请发表友善的回复…
发表回复
flashasp 2002-09-24
  • 打赏
  • 举报
回复
upupupupupupupupupup
qimangxing 2002-09-24
  • 打赏
  • 举报
回复
还有那么多人,没换成ie6呢,考虑一下大家的感受嘛,
可以我也是ie6。
helpmate527 2002-09-24
  • 打赏
  • 举报
回复
up
xjd5555 2002-09-24
  • 打赏
  • 举报
回复
我这里用IE6。0也有问题。objNoderoot.src='collapse.gif‘
提示找不到objNoderoot而网页用到objnoderoot,jsp中定义一个
sunlai 2002-09-24
  • 打赏
  • 举报
回复
你试一下这个

<style type='text/css'>
.d {font : size 10pt;}
.child {display : none}
</style>

<script language="JavaScript">

function init()
{ divnum=document.all.tags("DIV");
for (i=0; i<divnum.length ; i++)
{
if (divnum(i).className=="child" ) {
divnum(i).style.display="none";
}
}
}

function expandIt(KB)
{ whichchild=eval(KB+"Child");
if (whichchild.style.display=="none") {

whichchild.style.display = "block";
}
else { whichchild.style.display = "none";
}

}


</script>
<body onload=init()>

<div id="KB1Parent" class="parent">  
<a href="#" onClick="expandIt('KB1'); " class="d"><img src="img/midnodeline.gif" border="0">
<img src="img/clsfld.gif" border="0">文件夹一</a></div>
<div id="KB1Child" class="child">
 <a href="sample.htm" target="_blank" >页面一</a><br>
     <a href="sample.htm" target="_blank" >页面二</a><br>
     <a href="sample.htm" target="_blank" >页面三</a></div>
<div id="KB2Parent" class="parent">
  <a href="#" onClick="expandIt('KB2'); " ><img src="img/midnodeline.gif" border="0">
<img src="img/clsfld.gif" border="0">文件夹二</a></div>
<div id="KB2Child" class="child">   
  <a href="sample.htm" target="_blank" >页面一</a><br>
     <a href="sample.htm" target="_blank" >页面二</a><br>
     <a href="sample.htm" target="_blank" >页面三</a></div>
<div id="KB3Parent" class="parent">
  <a href="#" onClick="expandIt('KB3'); " ><img src="img/midnodeline.gif" border="0">
<img src="img/clsfld.gif" border="0">文件夹三</a></div>
<div id="KB3Child" class="child">   
   <a href="sample.htm" target="_blank" >页面一</a><br>
     <a href="sample.htm" target="_blank" >页面二</a><br>
     <a href="sample.htm" target="_blank" >页面三</a></div>
</body>



mytd 2002-09-24
  • 打赏
  • 举报
回复
真是想不明白,你为什末不换成ie6
杨小杨 2002-09-24
  • 打赏
  • 举报
回复
UP
kewin 2002-09-24
  • 打赏
  • 举报
回复
up
我只是来接分
sdliubo 2002-09-24
  • 打赏
  • 举报
回复
真的没有人能帮忙吗?
taglis2002 2002-09-23
  • 打赏
  • 举报
回复
up
Davelu 2002-09-23
  • 打赏
  • 举报
回复
我也是IE6
taglis2002 2002-09-23
  • 打赏
  • 举报
回复
up
mouseanAnya 2002-09-23
  • 打赏
  • 举报
回复
UP!
sdliubo 2002-09-23
  • 打赏
  • 举报
回复
谢谢以上各位

还请大侠赐教!Waiting for you!
MeXP 2002-09-23
  • 打赏
  • 举报
回复
问问chinaOK老大
Reker熊 2002-09-23
  • 打赏
  • 举报
回复
up
litangel 2002-09-23
  • 打赏
  • 举报
回复
很可惜,
我帮你调不了,
我这里也是IE6.
sdliubo 2002-09-23
  • 打赏
  • 举报
回复
请下载:
http://www.chinaok.net/Examples/xTree.zip

28,390

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧