Remortgages - Credit Cards - Problem Mortgage - Credit Reports - Teen Chat

PDA

View Full Version : Urgent: Sub-menu DIV fades off before I'm on it (jQuery)


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.

Qal
Dec 4th 2007, 7:15 pm
Okay, I'd be willing to pay some $ for quick help. Need this done urgently!

Thanks.