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

Discussion in 'jQuery' started by Qal, Dec 4, 2007.

  1. #1
    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 4, 2007 IP
  2. Qal

    Qal Peon

    Messages:
    92
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Okay, I'd be willing to pay some $ for quick help. Need this done urgently!

    Thanks.
     
    Qal, Dec 4, 2007 IP