Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:09
Delay to open submenu
Poster: blaine
Dated: Thursday September 16 2004 - 19:45:53 BST
Doing a quick search I did not see this answer but I know it must have been asked before.
How can I change the delay to show the a submenu. I want it to expand automatically on hover but just find it too sensitive and end up triggering it when I don't want to.
Poster: kevin3442
Dated: Friday September 17 2004 - 0:53:59 BST
Hi Blaine,
There's a global variable at the top of menu_data.js called _menuOpenDelay. The value assigned to that variable sets the delay you speak of, measuerd in milliseconds.
Hope that helps,
Kevin
Poster: blaine
Dated: Friday September 17 2004 - 1:25:27 BST
Thanks Kevin,
That is working for my submenu's that are horizontal but I have a siteheader menu that has a vertical dropdown submenu and it does not appear to effect that menu.
Interesting is that this dropdown menu also has a submenu that cascades horizontally to the right and it is using the set delay. It appears to just not effect the submenu that drops down from the siteheader menu.
I noticed that I could set it outside the menustyle definition or within the style but it was a global setting so the last setting would take effect.
I can change many other settings for the menu styles and they are taken effect. Both IE and Firefox show the same thing.
This is an internal site right now and I would have to setup an external example if you need to see this working.
Poster: kevin3442
Dated: Friday September 17 2004 - 7:46:07 BST
Hi Blaine,
I dig... I think. Try setting horizontalMenuDelay = true; at the top of your menu_data.js file, where the other globals are set (note that there is no underscore, _, at the front of the variable name). That should apply the _menuOpenDelay to all submenus, regardless of the orientation of the parent menu.
Hope that helps,
Kevin
Industrial Strength JavaScript and DHTML Menus
About Us
Testimonials
Contact Us
Our Distinguished Clients
Investing in Non-Profits
Where Are We
Privacy Policy
Software Licensing Agreement
DHTML JavaScript Menu
Product Information
Page Integration
Quick Reference Guides
Embedding Into a Table or DIV
Purchase
