Skip to Content
Home › Forums › Older releases › 1.0.x › On Click for Dropdown
I would like to change the behavior too “on-click” to reveal the sub menus (like the default bootstrap menus). No auto revival. How do I do that?
A better explanation is remove the on-hover dropdown and make it on-click.
Just use the noMouseOver: true option when initializing the script:
Not sure who to put in the
I tried, but still learning.
//Put code here but note sure what to do
Options can be passed when initializing the plugin – e.g.:
SUGGESTION: This last instruction (how to pass options when initializing) should be included in the docs at the very top of the “Options” section.
I was assuming some kind of (open-angle-bracket)tag data-option=”true”(close-angle-bracket) type of option setting and spent quite a bit of time banging my head against the wall before finding this.
The noMouseOver: true works great thanks.
What is the difference between using “noMouseOver: true” and “showOnClick: true;”?
Also, the “noMouseOver: true” works great but if you click the menu twice it goes to the menu link…is there a way to disable the link so it doesn’t go to that link when you click the menu item twice?
thanks for the solution.
You will be emailed a link to set your password.
Username or Email Address
You will receive emails only on new version releases or really important news. Your email will not be shared with anyone. We hate spam too!