phelgren
12-03-2013, 07:46 PM
1) Script Title: Smooth Navigational Menu
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/ddsmoothmenu.htm
3) Describe problem: There is an option to close all the menus when the mouse clicks on the area outside of the menu or when the mouse loses focus from the menu but what I need is to close all menus that are open when a menu item is selected. Right now if you set
closeonnonmenuclick: true, //when clicking outside of any "toggle" method menu, should all "toggle" menus close?
closeonmouseout: false, //when leaving a "toggle" menu, should all "toggle" menus close? Will not work on touchscreen
the nested list of menus will remain open until you click on an area outside of the menu. I want all menus to close (invoke the closeall function) when a menu item has been selected. This seems like a logical way to handle menu selections and the "All levels navigational menu" (http://www.dynamicdrive.com/dynamicindex1/ddlevelsmenu/) works this way but I want the smooth menu to work that same way. What modification do you suggest to make that happen (I *think* I want to trigger the closeAll function when an anchor link is clicked)
Thanks
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/ddsmoothmenu.htm
3) Describe problem: There is an option to close all the menus when the mouse clicks on the area outside of the menu or when the mouse loses focus from the menu but what I need is to close all menus that are open when a menu item is selected. Right now if you set
closeonnonmenuclick: true, //when clicking outside of any "toggle" method menu, should all "toggle" menus close?
closeonmouseout: false, //when leaving a "toggle" menu, should all "toggle" menus close? Will not work on touchscreen
the nested list of menus will remain open until you click on an area outside of the menu. I want all menus to close (invoke the closeall function) when a menu item has been selected. This seems like a logical way to handle menu selections and the "All levels navigational menu" (http://www.dynamicdrive.com/dynamicindex1/ddlevelsmenu/) works this way but I want the smooth menu to work that same way. What modification do you suggest to make that happen (I *think* I want to trigger the closeAll function when an anchor link is clicked)
Thanks