Qal
Dec 4th 2007, 4:16 am
Hi
I'm using this code to display a sub-menu when over a level one menu:
$("li.services").hover(function(){
$('#events_subnav').fadeIn();
},function(){
$('#events_subnav').fadeOut();
});
The only problem is that when I move away from the top menu button, sub-nav that was displayed on hover goes off too.
I would appreciated any quick help.
Many thanks.
I'm using this code to display a sub-menu when over a level one menu:
$("li.services").hover(function(){
$('#events_subnav').fadeIn();
},function(){
$('#events_subnav').fadeOut();
});
The only problem is that when I move away from the top menu button, sub-nav that was displayed on hover goes off too.
I would appreciated any quick help.
Many thanks.