Hi all,

I've got a slightly modified suckerfish menu where I would like to add
a delay before the submenus drop down.  The top level ul is oriented
horizontally, and crossing it with the mouse causes the submenus to
'bounce'.

The modification is that each child ul is wrapped in a div for layout purposes.

Here's the code that sets up the menu behavior:

$(document).ready(function(){
    $("ul#navbar_core > li").hover(
        function(){
            
$(this).children('a').toggleClass('navbar-on').end().find('div').animate({
height: 'show'}, 'normal');
        },
        function() {
            
$(this).children('a').toggleClass('navbar-on').end().find('div').animate({
height: 'hide'}, 'fast');
        }
    );
});


Any ideas out there?

Reply via email to