I have used an asp .net menu in a div. I need to display the menu by mouse hover on another div element called "Menu".
The problem is that the menu disappears when the mouse moves onto the menu [away from the "Menu" div], thus making the menu non accessible.
jQuery(document).ready(function () {
//toggle the componenet with class msg_body
jQuery(".heading").hover(function () {
jQuery(this).next(".txtcontent").slideToggle("slow");
});
});
HTML code:
<div class="heading" style="width: 100%; font-size: 7pt; font-family: 'Lucida Bright';">
<span style="font-size: 20pt">MENU</span>
</div>
<div class="txtcontent" style="width: 90%; display: none;">
<asp:Menu> Menu contents </asp:Menu>
<div>
Kindly help.