I see that the submenu drops down after a short delay, even when all effects are disabled.
is this normal, and how can this be made instant.
Thanks

Comments

AlexisWilke’s picture

What browser and under which OS are you?

There is certainly a little delay between putting the mouse over the menu dropdown and the time the dropdown is fully open, but in my case that's still very fast!

Thank you.
Alexis Wilke

Yuri’s picture

I'm using Chrome, latest version, but ive tested it with other browsers too.
I want the dropdown to be instant, it takes about a quarter of a second in my menu. I find it annoying, because in that quarter of a second people are more likely to click on a menu instead of seeing the child items before they click.
For me its a reason not to use SimpleMenu, so I hoped it could be solved.

AlexisWilke’s picture

Yuri,

On line 280 you have the effectSpeed. We allow 'fast' and 'slow' which is what animate() allows and superfish uses that function.

  $settings = array(
    'effect' => variable_get('simplemenu_effect', 'opacity'),
    'effectSpeed' => variable_get('simplemenu_effect_speed', 'fast'),
    'element' => $element,
    'placement' => $placement,
    'hideDelay' => variable_get('simplemenu_hide_delay', 800),
    'detectPopup' => variable_get('simplemenu_detect_popup', 1),
  );

Replace that line with a speed of 1 like this:

    'effectSpeed' => 1,

I guess I could look into adding that in the administrative screen. It should be easy enough...

Thank you.
Alexis Wilke

AlexisWilke’s picture

Assigned: Unassigned » AlexisWilke
Category: support » feature
Status: Active » Fixed

Okay, I checked in a new option "Instantaneous" for the "Show speed" option.

I suggest you use None as the animation effect too.

It will appear in 6.x-1.10 when I create that, in the mean time, use 6.x-1.x.

Thank you.
Alexis Wilke

Status: Fixed » Closed (fixed)

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