开发者

How to get a drop down menu in asp.net master page?

开发者 https://www.devze.com 2023-04-08 19:32 出处:网络
In my master page I have a table and inside that table I开发者_开发问答 have these, This is for displaying the username after user login to the website. I want to have a icon when clicked it should di

In my master page I have a table and inside that table I开发者_开发问答 have these, This is for displaying the username after user login to the website. I want to have a icon when clicked it should display signout, changepassword. How can I do that. Something similar like facebook where there is a inverted triangle whenclicked displays privacy setting.

<td class="style1">
    <asp:Label ID="Label_Welcome"  runat="server" Text="Welcome:"></asp:Label>
</td>
<td>
     <asp:Label ID="Label_UsereName" runat="server" Text="Label"></asp:Label>
 </td>


this type menu can be made using jquery

refer to this link Facebook Style CSS JQuery drop down menus


You will need to look into some javascript code which will show/hide your options.

jQuery Toggle or jQuery Show would be a good place to start.

0

精彩评论

暂无评论...
验证码 换一张
取 消