Posted by Bacteria Man on January 10, 2009 at 12:30am
Jump to:
| Project: | Dynamic Persistent Menu |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
How much effort would be involved in changing the hover behavior to onclick?
Comments
#1
Shame on me for not looking at dynamic_persistent_menu.js prior to asking!
To change the navigation behavior from hover to onclick, simply change the method on line 8 from "mouseover" to "click" like so
$(".dynamic-persistent-menu-menu-item").click(Perhaps a nice feature would be to add this as a configurable option.
#2
Hi...
Sorry for reopening such an old issue but... I want the sub-menu close if a user clicks on the parent menu item again. I mean a click will toggle the visibility of the sub-menu. Can you think of any solutions to this?
Also I want the sub-menu stay opened. I changed the "Sub-menu timeout" to a very large number. It works, but is it a good solution in terms of performance or something??
Thanks already...