The easiest solution around is to use the suckerfish plugin
"Superfish" at:http://users.tpg.com.au/j_birch/plugins/superfish/

it incorporates delay and hoverIntent if you so wish.

On Jan 21, 12:17 pm, "Marty Vance" <[EMAIL PROTECTED]> wrote:
> 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