100分求助,用ASP.NET做网站导航系统 想做出当鼠标移动到按钮上,就会出现下拉菜单,点击下拉菜单会刷新页面或转到别的页面去的功能,在网上有看过一些资料,但是小弟基础不太好,很多地方看不懂,求达人们指点的详细些,另外脚本代码最好是VB的,谢谢了 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 这个我也想过,在网上查了一些资料,不过都是用JavaScript实现的。如果你做的是信息系统,那我建议你劝说你的客户不要使用下拉菜单--因为大量使用JavaScript会使你的系统难以维护,毕竟系统的稳定性哈功能是最重要的。如果你开发的是网页,必须要使用那种华丽的界面,你可以试试专门生成下拉菜单的软件,唉,具体的名字我忘了,对不起。 Infragistics NetAdvantageWebMenu ASP.NET写无限级下拉菜单不再难 作者:佚名 文章来源:internet 点击数:194 更新时间:2004-9-2 <%@ Page Language="C#" %> <html> <!-- ASP.NET 2.0的例子 --> <head runat="server"> </head> <body> <form runat="server"> <h3>下拉菜单的例子</h3> <!-- Use declarative syntax to create the --> <!-- menu structure. Submenu items are --> <!-- created by nesting them in parent menu --> <!-- items. --> <asp:menu id="NavigationMenu" disappearafter="2000" staticdisplaylevels="2" staticsubmenuindent="10" orientation="Horizontal" font-names="Arial" target="_blank" runat="server"> <staticmenuitemstyle backcolor="#DDDDDD" forecolor="red"/> <statichoverstyle backcolor="#DDDDDD"/> <dynamicmenuitemstyle backcolor="#EEEEEE" forecolor="red"/> <dynamichoverstyle backcolor="#DDDDDD" forecolor="Black"/> <items> <asp:menuitem navigateurl="http://dotnet.aspx.cc/" text="首页" tooltip="首页"> <asp:menuitem navigateurl="http://dotnet.aspx.cc/ShowList.aspx?id=1" text="ASP.NET 栏目" tooltip="ASP.NET 栏目"> <asp:menuitem navigateurl="Classical.aspx" text="ASP.NET 最新文章" tooltip="ASP.NET 最新文章"/> <asp:menuitem navigateurl="Rock.aspx" text="ASP.NET 问与答" tooltip="ASP.NET 问与答"> <asp:menuitem navigateurl="Classical.aspx" text="ASP.NET 最新文章" tooltip="ASP.NET 最新文章"/> <asp:menuitem navigateurl="Classical.aspx" text="ASP.NET 最新文章" tooltip="ASP.NET 最新文章"/> </asp:menuitem> <asp:menuitem navigateurl="Jazz.aspx" text="Jazz" tooltip="Jazz"/> </asp:menuitem> <asp:menuitem navigateurl="Movies.aspx" text="Movies" tooltip="Movies"> <asp:menuitem navigateurl="Action.aspx" text="Action" tooltip="Action"> <asp:menuitem navigateurl="Drama.aspx" text="Drama" tooltip="Drama"/> </asp:menuitem> <asp:menuitem navigateurl="Drama.aspx" text="Drama" tooltip="Drama"/> <asp:menuitem navigateurl="Musical.aspx" text="Musical" tooltip="Musical"/> </asp:menuitem> </asp:menuitem> </items> </asp:menu> </form> </body> </html> 看看有用没? dropdownlist onselectchange事件 关于数据库在线备份!大家来说两句吧! 求高手改造这几句HttpContext代码 88718955 群 讨论MVC,LINQ,Entity,WCF,设计模式 一个正则表达式处理问题 初学对于Session和Cookie的疑问? ckeditor 结合 jquery问题 FindControl无法获取动态生成的控件的解决办法 RegisterStartupScript问题 DataGrid 问题 望大家救我 ****两个问题:1.关于关闭浏览器2.谁有treeview控件***** 求助:向sql server2000添加数据问题 关闭Socket的时候弹出异常
WebMenu
作者:佚名 文章来源:internet 点击数:194 更新时间:2004-9-2
<%@ Page Language="C#" %>
<html>
<!-- ASP.NET 2.0的例子 -->
<head runat="server">
</head>
<body>
<form runat="server"> <h3>下拉菜单的例子</h3> <!-- Use declarative syntax to create the -->
<!-- menu structure. Submenu items are -->
<!-- created by nesting them in parent menu -->
<!-- items. -->
<asp:menu id="NavigationMenu"
disappearafter="2000"
staticdisplaylevels="2"
staticsubmenuindent="10"
orientation="Horizontal"
font-names="Arial"
target="_blank"
runat="server"> <staticmenuitemstyle backcolor="#DDDDDD"
forecolor="red"/>
<statichoverstyle backcolor="#DDDDDD"/>
<dynamicmenuitemstyle backcolor="#EEEEEE"
forecolor="red"/>
<dynamichoverstyle backcolor="#DDDDDD"
forecolor="Black"/> <items>
<asp:menuitem navigateurl="http://dotnet.aspx.cc/"
text="首页"
tooltip="首页">
<asp:menuitem navigateurl="http://dotnet.aspx.cc/ShowList.aspx?id=1"
text="ASP.NET 栏目"
tooltip="ASP.NET 栏目">
<asp:menuitem navigateurl="Classical.aspx"
text="ASP.NET 最新文章"
tooltip="ASP.NET 最新文章"/>
<asp:menuitem navigateurl="Rock.aspx"
text="ASP.NET 问与答"
tooltip="ASP.NET 问与答">
<asp:menuitem navigateurl="Classical.aspx"
text="ASP.NET 最新文章"
tooltip="ASP.NET 最新文章"/>
<asp:menuitem navigateurl="Classical.aspx"
text="ASP.NET 最新文章"
tooltip="ASP.NET 最新文章"/>
</asp:menuitem>
<asp:menuitem navigateurl="Jazz.aspx"
text="Jazz"
tooltip="Jazz"/>
</asp:menuitem>
<asp:menuitem navigateurl="Movies.aspx"
text="Movies"
tooltip="Movies">
<asp:menuitem navigateurl="Action.aspx"
text="Action"
tooltip="Action">
<asp:menuitem navigateurl="Drama.aspx"
text="Drama"
tooltip="Drama"/>
</asp:menuitem>
<asp:menuitem navigateurl="Drama.aspx"
text="Drama"
tooltip="Drama"/>
<asp:menuitem navigateurl="Musical.aspx"
text="Musical"
tooltip="Musical"/>
</asp:menuitem>
</asp:menuitem>
</items>
</asp:menu>
</form>
</body>
</html>
看看有用没?