Hello, just started jquery today.
I have a menu that when an item is hovered a sub menu comes up. What I want is that when you click on the menu the submenu stays up.
right now toggle sorta works but it does not stay up when I stop hovering over the item.
Code:
<script type="text/javascript">
$(document).ready( function()
{
$('.m').click( function()
{
$('.m ul').toggle();
});
});
</script>
http://avoki.com/
thanks