I would prefer to have superfish off in my menus, but IE6 needs it to display the dropdowns properly. I've been trying to remove the opacity animation without much success - it doesn't look like I can specify a number for speed to make it happen instantly (only fast at best, which is 200), and my efforts at removing or finagling the animation options result in javascript errors.

The animation is particularly bad, as it doesn't display in IE6/IE7 - just causes the 200ms delay which is mildly annoying. It does animate properly in FF.

Any help in removing the animation while retaining superfish for IE6 dropdowns is welcome :)

Comments

KuroNeko’s picture

Did you ever find a solution? I'm having a similar issue. Using Nice Menus with a horizontal second level drop down. Looks fine in FF but in IE 7 and 8 there is a short fade in of the menus that I'd like to eliminate.

Tried adjusting the animation and speed parameters in the superfish.js file but with only limited success.

volocuga’s picture

It seems to be bad idea to include the superfish plugin into latest dev.For me it's useless+6 kb js

tayzlor’s picture

@sansui i think this may be related to this thread - http://drupal.org/node/481814

take a look there + theres a patch at the bottom which might help.

add1sun’s picture

Status: Active » Closed (duplicate)
Frogtown’s picture

Version: 6.x-2.x-dev » 6.x-2.1-beta2

We use nice menus and need the superfish where I am, since it allows for tabbable drop downs, instead of the tabbing only parsing the Parent LI's, in order to meet WCAG standards. We had a solution to disable the animation before, but with the new nice_menus.js it was returning syntax errors.

Anyways, the fix I used for 6.x-2.1-beta2 was just to add after the delay and speed settings in nice_menus.js was:

disableHI: true

Killed the animation, and still maintained the tab ordering and ability to tab into the sub menus.

zjoriz’s picture

disableHI worked for me, but it also shut down other effects of the script (such as the addition of the .over class to active menu parents).

I commented out the Drupal.settings.nice_menus_options.delay, and Drupal.settings.nice_menus_options.speed and replaced them by 1, (millisecond). The animation is still executed each time so it's less smooth than the disableHI approach, but it's manageable.
Now to go and test if it still works on IE...

I'm using version 6.x-2.1 by the way.

EDIT: turns out disableHI has nothing to do with it, me forgetting to add commas was probably the cause.