Hi there,

I have the superfish menu enabled with dropdowns.
Now when I hover my mouse over the parent menu item it takes a few milliseconds for the dropdown to show up.
How can I remove this delay so that the dropdown appears immediately when the parent menu item is hovered upon?

Thanks!

Comments

Hello jvdurme,

You can try to cancel out the delay by setting the menu speed to fast.

Go to configurations
Nice Menus
Advanced Superfish options
Animation speed = fast

You can also mess with the mouse delay.

Hi janderson,

I did do that. Speed is set to fast and delay to zero, but it still has a delay.
I guess you are also out of ideas? ;-)

J.

Hi janderson,

I changed this in the javascript code in page.tpl.php:

<script type="text/javascript">
  jQuery(document).ready(function($) {
    $("#superfish ul.menu").superfish({
            delay:       0,
            animation:   {opacity:'show',height:'show'},
            speed:       'fast',
            autoArrows:  true,
            dropShadows: true
        });
  });
</script>

I don't have Nice Menus installed. Is this necessary?

Status:Active» Fixed

In the end I found a solution on another forum. I had to use the disableHI option:

<script type="text/javascript">
  jQuery(document).ready(function($) {
    $("#superfish ul.menu").superfish({
            delay:       0,
            animation:   {opacity:'show',height:'show'},
            speed:       'fast',
            autoArrows:  true,
            dropShadows: true,
            disableHI:   true
        });
  });
</script>

If disableHI is to "true" then Superfish will not use HoverIntent to delay the mouseenter event.
Source: http://stackoverflow.com/questions/8229013/remove-delay-of-superfish-dro...

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.