Recently I wanted to make a drop down menu in C #, I haven't found a simple implementation method for a long time, I think one; introduce: First, add the following code in the ASPX file:
Function OpenMENU (CUR) // Display menu
{
EVAL ("Menu" Cur ". style.visibility = 'visible'")
// alert (menu1)
}
Function CloseMenu (CUR) // Hide menu
{
EVAL ("Menu" Cur ". style.visibility = 'hidden')
}
script>
/ / Define a separate layer
/ / Define a menu