| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 741 人关注过本帖
标题:多级树形目录
取消只看楼主 加入收藏
guixiaolan
Rank: 3Rank: 3
等 级:新手上路
威 望:6
帖 子:356
专家分:0
注 册:2006-4-20
收藏
 问题点数:0 回复次数:0 
多级树形目录

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<style>
td{text-align:left;font-size:18px}
a{text-decoration:underline}
</style>
</head>
<script language="javascript">
function showsub(theid)
{
thefo=eval("fold_"+theid);
if(thefo.style.display=="none")
{
thefo.style.display="block"
}
else
{
thefo.style.display="none"
}
}
</script>
<body>
<table width="100%" cellspacing="0">

<tr>
<td height="18" colspan="4"><img src="zhedie.gif" width="18" height="18" align="absmiddle"><a href="javascript:showsub('1')">1</a></td>
</tr>

<tr id='fold_1' style="display:none">
<td width="18"><img src="zhixian.gif" width="18" height="108" align="absmiddle">
</td>
<td>
<table width="100%" cellspacing="0">
<tr>
<td height="18" colspan="3"><img src="zhedie.gif" width="18" height="18" align="absmiddle"><a href="javascript:showsub('11')">11</a></td>
</tr>
<tr id='fold_11' style="display:none">
<td width="18"><img src="zhixian.gif" width="18" height="72" align="absmiddle">
</td>
<td>
<table width="100%" cellspacing="0">
<tr>
<td height="18" colspan="2"><img src="zhedie.gif" width="18" height="18" align="absmiddle"><a href="javascript:showsub('111')">111</a></td>
</tr>
<tr id='fold_111' style="display:none">
<td width="18">
<img src="sanjiao.gif" width="15" height="18" align="absmiddle"><br>
<img src="sanjiao.gif" width="15" height="18" align="absmiddle">
</td>
<td>
<table width="100%" cellspacing="0">
<tr>
<td><img src="wenjian.gif" width="18" height="18" align="absmiddle"><a href="javascript:showsub('1111')">1111</a></td>
</tr>

<tr>
<td><img src="wenjian.gif" width="18" height="18" align="absmiddle"><a href="javascript:showsub('1112')">1112</a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="18" colspan="2"><img src="zhedie.gif" width="18" height="18" align="absmiddle"><a href="javascript:showsub('112')">112</a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="18" colspan="3"><img src="zhedie.gif" width="18" height="18" align="absmiddle"><a href="javascript:showsub('12')">12</a></td>
</tr>
</table>
</td>
</tr>

<tr>
<td height="18" colspan="4"><img src="zhedie.gif" width="18" height="18" align="absmiddle"><a href="javascript:showsub('2')">2</a></td>
</tr>
</table>
</body>
</html>

搜索更多相关主题的帖子: 树形 目录 
2006-08-13 10:56
快速回复:多级树形目录
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.052809 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved