This article describes the use of the. NET control to implement the Drop-down navigation menu to make the specific methods, the need for friends can refer to, hoping to help you
A small test today is for teachers to use. NET using controls to make a pull menu requires the following:
Move the mouse over the parent menu to pop up 3 submenus, and each submenu has a hyperlink.
Here's the code I made myself:
Copy Code code as follows:
<asp:menu id= "Menu1" runat= "server" orientation= "horizontal" width= "100%"
font-size= "14px" forecolor= "#161621" font-bold= "True"
pathseparator= "1" staticenabledefaultpopoutimage= "False"
>
<dynamicmenustyle backcolor= "#D0E6DE"/>
<dynamicmenuitemstyle itemspacing= "5px"/>
<Items>
<asp:menuitem text= "It Practitioners" value= "It Practitioners" navigateurl= "~/introduce.aspx?id=1" ></asp:me Nuitem>
<asp:menuitem text= "It Practitioners value=" navigateurl= "~/introduce.aspx?id=2" ></asp:menuitem >
<asp:menuitem text= "It Practitioners" value= "It Practitioners" navigateurl= "~/pintroduce.aspx?id=1" ></asp:m Enuitem>
<asp:menuitem text= "It Practitioners" value= "It Practitioners" navigateurl= "~/pintroduce.aspx?id=2" ></asp:MenuItem>
</asp:MenuItem>
<asp:menuitem text= "It Practitioners" valuenavigateurl= "~/news.aspx" ></asp:MenuItem>
<asp:menuitem text= "It Practitioners" value= "It Practitioners" navigateurl= "~/product.aspx?id=1" >
<asp:menuitem text= "It Practitioners" value= "It Practitioners" navigateurl= "~/product.aspx?id=0" ></asp:MenuItem>
<asp:menuitem text= "It Practitioners" value= "It Practitioners" navigateurl= "~/product.aspx?id=1" ></asp:menu Item>
</asp:MenuItem>
<asp:menuitem text= "It Practitioners" value= "It Practitioners" navigateurl= "~/message.aspx" ></asp:MenuItem>
<asp:menuitem text= "It Practitioners" value= "It Practitioners" navigateurl= "~/download.aspx" ></asp:MenuItem>
<asp:menuitem text= "online Contact" value= "online Contact" navigateurl= "~/content.aspx" ></asp:MenuItem>
</Items>
</asp:Menu>