主页面ASP菜单 [英] Master Page ASP MENU

查看:73
本文介绍了主页面ASP菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我正在构建我的asp菜单,导航菜单,我想将所选项目设置为突出显示或不同的颜色。我的按钮是png图像,无论我尝试什么,我似乎都无法选择它们。我的菜单基于登录类型是动态的。



任何帮助都会很棒





我的菜单如下 - 它在一个母版页上





< tr style =text-align:center>
< asp:ContentPlaceHolder ID =contentMenurunat =server>









,我在每个页面加载中构建菜单项aspx页面,因为菜单是动态的,取决于你在系统中的位置

解决方案

看到这篇文章你会得到答案

< a href =http://highoncoding.com/Articles/165_Creating_Menu_Based_on_Role.aspx>

根据角色创建菜单


是的...你应该用像锚标签这样的链接格式给你的图像然后给特定的页面输入一个src ....

u wnat看看喜欢高亮的菜单然后简单地改变一个按钮的颜色我的意思是aattach另一个按钮看起来像hifhlighted鼠标在按钮上使用java脚本选择...感谢你

hopw它会帮助你......... ....

Hello everyone,

I am building my asp menu, navigation menu, and I want to set the selected item as highlighted or a different color. My buttons are png images and I cannot seem to get them to be selected no matter what I try. My menu is dynamic based on the login type.

Any help would be great


my menu is below - it is on a master page


<asp:ContentPlaceHolder ID="contentMenu" runat="server">





and I build the menu items in the pageload of each aspx page as the menu is dynamic and depends on where you are in the system

解决方案

See this article you will get your answer

Creating Menu Based on Role


yup... u should give ur images in a link format like anchor tag using in then give a src to the particular page....
u wnat to see like hightlight the menu then simplychange the color of a button i mean aattach another button to look like hifhlighted when mouse over button using java script chooses... thanking you
hopw it will help u.............


这篇关于主页面ASP菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆