求这样的树状结构,象vb程序里面的那样,可以回传。。。

研究汽车的米舞指 2003-12-01 11:28:52
就象vb程序那样,点击一个小按纽后出现一个有树状结构菜单的小页面,选中其中某个后双击或者某种方式可以将该选中值回传到父页面中。
求这样的树状结构,谢谢!
...全文
42 11 打赏 收藏 转发到动态 举报
写回复
用AI写文章
11 条回复
切换为时间正序
请发表友善的回复…
发表回复
flying310 2003-12-04
  • 打赏
  • 举报
回复
呵呵 to superdullwolf(超级大笨狼)
你好快呀.菜单的形式有很多种其实
superdullwolf(超级大笨狼) 老兄的很经典呀.楼主要好好看看了
超级大笨狼 2003-12-04
  • 打赏
  • 举报
回复
http://expert.csdn.net/Expert/topic/2442/2442101.xml?temp=.6806757
下载地址是,
http://www.adr.gov.cn/download/tree.rar
演示:
http://www.adr.gov.cn/download/tree/nolimited.asp

  • 打赏
  • 举报
回复
楼上的,你的代码基本不能执行啊~

急~~~~!!!
aspczlover 2003-12-03
  • 打赏
  • 举报
回复
<html>
<head>
<meta NAME="GENERATOR" Content="Microsoft FrontPage 5.0">
<link rel="stylesheet" type="text/css" href="xcss.css">
<script language="javascript">
current_div_id = -1;
function diva_show(div_id,type_id)
{
if (document.all.item("a"+div_id).style.display == "block")
{
document.all.item("a"+div_id).style.display = "none";
document.all.item("i"+div_id).src="images/icon_book_close.gif";
document.all.item("f"+div_id).src="images/plus1.gif";
}
else
{
document.all.item("a"+div_id).style.display = "block";
document.all.item("i"+div_id).src="images/icon_book_open.gif";
document.all.item("f"+div_id).src="images/minus.gif";
}
if (current_div_id != -1)
{
document.all.item("link"+current_div_id).style.color = "#000066";
}
current_div_id = div_id;
document.all.item("link"+div_id).style.color = "red";
if ((type_id != '0')&&(type_id != ''))
{
top.xbody.window.location = "booklist.asp?b_type=" + type_id;
}
}
</script>
</head>
<body topmargin="0" background="images/zapsmbknd.gif">
<table WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
<tr>
<td colspan="2"><img SRC="images/win16.gif" WIDTH="16" HEIGHT="16"> <font style="font-family:隶书,Arial;font-size:20px;font-weight:bold">书库</font></td>
</tr>
</table>
<a name="aa465"></a>
<table CELLSPACING="0" CELLPADDING="0">
<tr>
<td colspan="2">
<a href="#aa465" onclick="diva_show('465','11');" id="link465">
<img name="f465" SRC="images/plus1.gif" border="0" WIDTH="16" HEIGHT="18">
<img name="i465" SRC="images/icon_book_close.gif" border="0">教育信息</a><br>
</td>
</tr>
</table>
<div id="a465" style="display:none">
<table WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
</table>
</div>
<a name="aa466"></a>
<table CELLSPACING="0" CELLPADDING="0">
<tr>
<td colspan="2">
<a href="#aa466" onclick="diva_show('466','12');" id="link466">
<img name="f466" SRC="images/plus1.gif" border="0" WIDTH="16" HEIGHT="18">
<img name="i466" SRC="images/icon_book_close.gif" border="0">经济法律</a><br>
</td>
</tr>
</table>
<div id="a466" style="display:none">
<table WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
<tr>
<td width="18"> </td>
<td>
<a name="aa469"></a>
<table CELLSPACING="0" CELLPADDING="0">
<tr>
<td colspan="2">
<a href="#aa469" onclick="diva_show('469','205');" id="link469">
<img name="f469" SRC="images/plus1.gif" border="0" WIDTH="16" HEIGHT="18">
<img name="i469" SRC="images/icon_book_close.gif" border="0">法律综合</a><br>
</td>
</tr>
</table>
<div id="a469" style="display:none">
<table WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
</table>
</div>
</td>
</tr>
<tr>
<td width="18"> </td>
<td>
<a name="aa470"></a>
<table CELLSPACING="0" CELLPADDING="0">
<tr>
<td colspan="2">
<a href="#aa470" onclick="diva_show('470','206');" id="link470">
<img name="f470" SRC="images/plus1.gif" border="0" WIDTH="16" HEIGHT="18">
<img name="i470" SRC="images/icon_book_close.gif" border="0">公共关系学</a><br>
</td>
</tr>
</table>
<div id="a470" style="display:none">
<table WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
</table>
</div>
</td>
</tr>
<tr>
<td width="18"> </td>
<td>
<a name="aa467"></a>
<table CELLSPACING="0" CELLPADDING="0">
<tr>
<td colspan="2">
<a href="#aa467" onclick="diva_show('467','203');" id="link467">
<img name="f467" SRC="images/plus1.gif" border="0" WIDTH="16" HEIGHT="18">
<img name="i467" SRC="images/icon_book_close.gif" border="0">创业实战</a><br>
</td>
</tr>
</table>
<div id="a467" style="display:none">
<table WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
<tr>
<td width="18"> </td>
<td>
<a name="aa780"></a>
<table CELLSPACING="0" CELLPADDING="0">
<tr>
<td colspan="2">
<a href="#aa780" onclick="diva_show('780','330');" id="link780">
<img name="f780" SRC="images/plus1.gif" border="0" WIDTH="16" HEIGHT="18">
<img name="i780" SRC="images/icon_book_close.gif" border="0">国内创业者故事</a><br>
</td>
</tr>
</table>
<div id="a780" style="display:none">
<table WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
</table>
</div>
</td>
</tr>
<tr>
<td width="18"> </td>
<td>
<a name="aa781"></a>
<table CELLSPACING="0" CELLPADDING="0">
<tr>
<td colspan="2">
<a href="#aa781" onclick="diva_show('781','330');" id="link781">
<img name="f781" SRC="images/plus1.gif" border="0" WIDTH="16" HEIGHT="18">
<img name="i781" SRC="images/icon_book_close.gif" border="0">国外创业者故事</a><br>
</td>
</tr>
</table>
<div id="a781" style="display:none">
<table WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
</table>
</div>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td width="18"> </td>
<td>
<a name="aa468"></a>
<table CELLSPACING="0" CELLPADDING="0">
<tr>
<td colspan="2">
<a href="#aa468" onclick="diva_show('468','204');" id="link468">
<img name="f468" SRC="images/plus1.gif" border="0" WIDTH="16" HEIGHT="18">
<img name="i468" SRC="images/icon_book_close.gif" border="0">法律理论</a><br>
</td>
</tr>
</table>
<div id="a468" style="display:none">
<table WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
</table>
</div>
</td>
</tr>
</table>
</div>
</body>
</html>
  • 打赏
  • 举报
回复
各位给我的代码都没有回传功能啊。
我是说,能够选中某项后,将该值传送到另一个页面(母页面)中去。
monkeys 2003-12-02
  • 打赏
  • 举报
回复
看这个,蓝色街灯写的:
http://expert.csdn.net/Expert/topic/2210/2210140.xml?temp=.2248804

建议楼主看看,附源码
onebluesky 2003-12-02
  • 打赏
  • 举报
回复
http://www.tibetpulu.net/article_view.asp?id=37
很好用的!
laily 2003-12-02
  • 打赏
  • 举报
回复
http://www.9499.net?go=tc
online 2003-12-01
  • 打赏
  • 举报
回复
阿信的应该可以
http://fason.nease.net/
a_zhe_20 2003-12-01
  • 打赏
  • 举报
回复
看看这里
http://fason.nease.net/

有这种代码的。
BingGroup 2003-12-01
  • 打赏
  • 举报
回复
要自己写了。。。


www.csdn.net论坛的目录怎么样?

28,407

社区成员

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

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