Posted by bryanrobo on October 3, 2009 at 6:58pm
Jump to:
| Project: | Accordion Menu |
| Version: | 6.x-1.1 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | solotandem |
| Status: | closed (fixed) |
| Issue tags: | accordian menu, jquery menu |
Issue Summary
how do i change the mouse event that triggers the accordian menu. It now triggers on mouse hover, I would like it to trigger on mouse click. My javascript knowledge is very limited.
Comments
#1
Hey bryanrobo. Fellow robos should help each other out, I always say. :)
On line 168, change
event: 'mouseover'toevent: 'click'BE WARNED: Doing this will make it so the link that activates the accordion menu is USELESS. Won't go anywhere. To make it activate the accordion menu AND have the link go somewhere, use
event: 'mousedown'.Having 'mousedown' in this case is rather useless, if you ask me, though.
#2
This could be a nice option into UI of this module?
#3
Version 6.x-1.1 includes settings for scope and all jQuery accordion options.
#4
Automatically closed -- issue fixed for 2 weeks with no activity.