SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot openXS's Avatar
    Join Date
    May 2004
    Posts
    105
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

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

    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.

  2. #2
    SitePoint Enthusiast i0nutzb's Avatar
    Join Date
    Mar 2005
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you want to do something like this? http://users.tpg.com.au/j_birch/plugins/superfish/


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •