We had a request to shorten the wait time before the menu pops open. Unfortunately we had to hard code the change to the JS file.

It would be great if the megamenu configuration allowed the configuration of these JS values under an advanced fieldset, and submitted these as arguments when the JS is called.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Anonymous’s picture

Assigned: Unassigned » erykmynn

Great idea.

jtchem’s picture

which variable did you have to adjust to shorten the wait time? I have had the same request and nothing I have changed seems to have had any effect....
Thanks

Grayside’s picture

Line 4 or 5 of megamenu.js. Either sizewait or hoverwait... I don't recall.

Remember, after you make this change you need to be sure any javascript cache is refreshed.

Anonymous’s picture

Assigned: erykmynn » lobo235
BenK’s picture

Subscribing

mattez’s picture

+1 Subscribing

mattez’s picture

Assigned: lobo235 » Unassigned
FileSize
18.82 KB

I've got D7 version, and there you can setup it in "admin/config/user-interface/megamenu" there are "Advanced Settings"...
You can setup there "Menu Timeout", "Menu Size Wait" and "Menu Hover Wait". See attached scrshot.