使用链接创建菜单[英] creating menu with the help of links

本文是小编为大家收集整理的关于使用链接创建菜单的处理/解决方法,可以参考本文帮助大家快速定位并解决问题,中文翻译不准确的可切换到English标签页查看源文。

问题描述

大家好,
我想创建一个菜单,就像在 codeproject.com 中创建的菜单一样,例如,我想打开主页,然后单击"主页"链接,该链接会突出显示.下次我想打开讨论页面时,我点击"讨论"链接,然后"主页"链接消失,"讨论"链接被突出显示.菜单还可以有子菜单.
提前致谢

解决方案
参考以下链接:
使用 CSS 创建 ASP.Net 菜单控件[^]
使用 CSS 设置 Asp.Net 菜单控件样式 - 示例[^]
.Net 母版页中的 CSS 菜单[^]
菜单控件示例[^]
http://www.dotnetcode.in/2012/06/create-simple-dropdown-css-menu-in.html[^]

还有更多 这里[^].


--阿米特

本文地址:https://www.itbaoku.cn/post/1356205.html

问题描述

Hi guys,
I want to create a menu like the one created in here in codeproject.com i.e. like i want to open the home page then i click on the link "Home" and that link gets highlighted. And the next time i want to open the Discussions page then i click on "Discussions" link then the "Home" link fades and the "Discussions" link gets highlighted. The menu can also have sub menus.
Thanks in advance

推荐答案

Refer the links below:
Creating ASP.Net Menu Control using CSS[^]
Styling Asp.Net Menu control with CSS - Example[^]
CSS Menu in a .Net Master Page[^]
Menu Control Example[^]
http://www.dotnetcode.in/2012/06/create-simple-dropdown-css-menu-in.html[^]

And a lot more here[^].


--Amit