PDA

View Full Version : Split Menu Buttons CSS-Based Menu



VSDan
08-23-2012, 04:16 AM
There appears to be a flaw in the menu. Menus remain open if you open another menu. Confusing and creates clutter. Can the underlying JavaScript be modified to automatically close any opened menus when a menu is opened?

http://www.dynamicdrive.com/dynamicindex1/splitmenubuttons.htm

jscheuer1
08-23-2012, 05:50 AM
Warning: Please include a link to the DD script in question in your post. See this thread (http://www.dynamicdrive.com/forums/showthread.php?t=6) for the proper posting format when asking a question.

ddadmin
08-23-2012, 06:29 AM
There appears to be a flaw in the menu. Menus remain open if you open another menu. Confusing and creates clutter. Can the underlying JavaScript be modified to automatically close any opened menus when a menu is opened?

That is by design actually, but if you wish the main drop down menu to also disappear simply when the mouse rolls out of it, try the below modified .js file.

VSDan
08-23-2012, 03:28 PM
That is by design actually, but if you wish the main drop down menu to also disappear simply when the mouse rolls out of it, try the below modified .js file.

That's what I figured. By one man's design is another man's flaw ;) Awesome, works - thanks! Great script, site, and support!