ASP tutorial. NET control make Drop-down navigation menu
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:
<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= "Zhengzhou website construction" value= "http://www.111cn.net" navigateurl= "~/introduce.aspx?id=1" >
<asp:menuitem text= "Gardening Introduction" value= "Gardening Introduction" navigateurl= "~/introduce.aspx?id=1" ></asp:MenuItem>
<asp:menuitem text= "Xingyang forum value=" navigateurl= "~/introduce.aspx?id=2" ></asp:MenuItem>
<asp:menuitem text= "Honor Introduction" value= "Honor Introduction" Navigateurl= "~/pintroduce.aspx?id=1" ></asp:MenuItem>
<asp:menuitem text= "Gardening Introduction" value= "Gardening Introduction" navigateurl= "~/pintroduce.aspx?id=2" ></asp:MenuItem>
</asp:MenuItem>
<asp:menuitem text= "Ball Mill" valuenavigateurl= "~/news.aspx" ></asp:MenuItem>
<asp:menuitem text= "Product Introduction" value= "Product Introduction" Navigateurl= "~/product.aspx?id=1" >
<asp:menuitem text= "Special dishes" value= "special Dishes" navigateurl= "~/product.aspx?id=0" ></asp:MenuItem>
<asp:menuitem text= "Special Flower Products" value= "Special Flower" navigateurl= "~/product.aspx?id=1" ></asp:MenuItem>
</asp:MenuItem>
<asp:menuitem text= "Customer message" value= "Customer Message" navigateurl= "~/message.aspx" ></asp:MenuItem>
<asp:menuitem text= "Information download" value= "Download" navigateurl= "~/download.aspx" ></asp:MenuItem>
<asp:menuitem text= "Online Contact" value= "online Contact" navigateurl= "~/content.aspx" ></asp:MenuItem>
</Items>
</asp:Menu>
Magical asp.net the navigation menu | How to make a Drop-down navigation menu with a control