首页 新闻 赞助 找找看

各位。NET高手帮帮忙啊,我也不知道这是个啥东西。

0
悬赏园豆:5 [已解决问题] 解决于 2007-12-08 16:48
怎么在页面的左面加上这种格式的菜单。<IMG height=276 alt="" src="http://images20.51.com/5001/a/a9/31/limaidang/1196564832_0.20374300.jpg" width=126 border=0 mce_src="http://images20.51.com/5001/a/a9/31/limaidang/1196564832_0.20374300.jpg"><IMG height=273 alt="" src="http://images20.51.com/5001/a/a9/31/limaidang/1196564832_0.31451100.jpg" width=121 border=0 mce_src="http://images20.51.com/5001/a/a9/31/limaidang/1196564832_0.31451100.jpg">
问题补充: 大家一定看清楚了,是在VS2005中实现昂, 大家说的清楚点吧,我不会JS最好有个实例,谢谢谢谢。 JS代码应该加在哪一部分,是加在源代码的<head></head>部分还是<body></body>部分,还是写在.CS里面,快点吧。今天交作业了。
烈日下的小树的主页 烈日下的小树 | 初学一级 | 园豆:200
提问于:2007-12-02 11:14
< >
分享
最佳答案
0
简单的样式配上JS就可以做到,网上很多这种东西,如果喜欢这一个,可以点右键查看他的源代码,copy出来改一改就可以用了
丁学 | 专家六级 |园豆:18730 | 2007-12-02 12:43
其他回答(8)
0
应该是别人开发的一个东西吧,不过没有用过,不知道这个东西的表现状态是什么样的
Brave Heart | 园豆:210 (菜鸟二级) | 2007-12-02 12:30
0
js控制一个一个表格显示
李永京 | 园豆:3114 (老鸟四级) | 2007-12-02 14:37
0
DIV的DISPLAY就可以实现
lyamlf123 | 园豆:158 (初学一级) | 2007-12-02 23:09
0
JS代码: function ToggleNode(nodeObject, imgObject,imgout,imgover){ if (nodeObject.style.display == '' || nodeObject.style.display == 'inline') { nodeObject.style.display = 'none'; imgObject.src=imgover; } else { nodeObject.style.display = 'inline'; imgObject.src=imgout; } } 页面代码: <table cellspacing="0" cellpadding="0" width="180" border="0"> <tr style="CURSOR: hand" onclick="ToggleNode(menu02,arrow02,'images/arrow01top.gif','images/arrow01bottom.gif')"> <td> <table style="COLOR: #215dc6;height:20" cellspacing="0" cellpadding="0" width="100%" border="0"> <tr> <td align="left"><b>&nbsp;&nbsp;综合查询</b></td> <td align="right"></td> </tr> </table> </td> </tr> <tr id="menu02"> <td> </td> </tr> </table> <br/> <!--左侧菜单3--> <table cellspacing="0" cellpadding="0" width="180" border="0"> <tr style="CURSOR: hand" onclick="ToggleNode(menu04,arrow04,'images/arrow01top.gif','images/arrow01bottom.gif')"> <td > <table cellspacing="0" cellpadding="0" width="100%" border="0"> <tr> <td align="left"><b>&nbsp;统计汇总</b></td> <td align="right"></td> </tr> </table> </td> <
AndyFish | 园豆:1575 (小虾三级) | 2007-12-03 08:57
0
http://bbs.blueidea.com/thread-2515616-1-1.html BI论坛上有很好的源程序,你可以去自己看看。很不错的。 来这里下载吧 http://www.msup.com.cn/document/menu.rar
niugm | 园豆:1685 (小虾三级) | 2007-12-03 08:58
0
网上找js特效
永不言败 | 园豆:350 (菜鸟二级) | 2007-12-04 11:08
0
<html> <head> <meta http-equiv="Content-Type" content="text ml; charset=gb2312"> <title></title> <style type="text/css"> .titleStyle{ background-color:#008800;color:#ffffff;border-top:1px solid #FFFFFF;font-size:9pt;cursor:hand; } .contentStyle{ background-color:#eeffee;color:blue;font-size:9pt; } a{ color:blue; } body{ font-size:9pt; } </style> </head> <body> <script language="JavaScript"> <!-- var layerTop=20; //菜单顶边距 var layerLeft=30; //菜单左边距 var layerWidth=140; //菜单总宽 var titleHeight=20; //标题栏高度 var contentHeight=200; //内容区高度 var stepNo=10; //移动步数,数值越大移动越慢 var itemNo=0;runtimes=0; document.write('<span id=itemsLayer style="position:absolute;overflow:hidden;border:1px solid #008800;left:'+layerLeft+';top:'+layerTop+';width:'+layerWidth+';">'); function addItem(itemTitle,itemContent){ itemHTML='<div id=item'+itemNo+' itemIndex='+itemNo+' style="position:relative;left:0;top:'+(-contentHeight*itemNo)+';width:'+layerWidth+';"><table width=100% cellspacing="0" cellpadding="0">'+ '<tr><td height='+titleHeight+' onclick=changeItem('+itemNo+') class="titleStyle" align=center>'+itemTitle+'</td></tr>'+ '<tr><td height='+contentHeight+' class="contentStyle">'+itemContent+'</td></tr></table></div>'; document.write(itemHTML); itemNo++; }
oec2003 | 园豆:945 (小虾三级) | 2007-12-04 17:18
0
不想写JS,建议使用AjaxToolkit中的Accordion来实现 参考实例: http://www.asp.net/AJAX/AjaxControlToolkit/Samples/Accordion/Accordion.aspx
TerryLee | 园豆:3300 (老鸟四级) | 2007-12-05 15:33
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册