jquery-doubletaptogo
Brings drop-down navigation tapping for touch devices. Built as jQuery Plugin.
Dependencies
- jQuery: http://jquery.com/
Installation
<!-- 1. Create your drop-down navigation --> First level First level Second level Second level <!-- 2. Include jQuery --> <!-- 3. Include plugin --> <!-- 4. Bind plugin to containers -->
Options
- automatic: If set to true, tries to find out automatically which elements need doubletap and sets selector class on it. Set to false, if you have a more complex structure and set the selector class manually on the elements or specify a complex selector chain.
[Default: true]
- selectorClass: Defines the selector class on which doubletap binds.
[Default: 'doubletap']
- selectorChain: Defines the selector chain on which doubletap binds.
[Default: 'li:has(ul)']
Changelog
3.0.0 Refactor to jQuery Plugin
- removed dependency for jQuery Widget Factory
- Bugfixes
2.0.1 Bugfixes
- added selector chain
- Bugfix for selector class in event listeners
- Bugfix for event listeners iOS / Android
2.0.0 Refactoring
- added automatic mode
- added selector for binding
- removed levels option