jQuery-Simple-MobileMenu
A Simple jQuery Plugin for Mobile Menu
Here the steps to configure...
Step 1 : Download and link to the Jquery plugin
Step 2 : Download and link to the Jquery simpleMobileMenu plugin
Step 3 : Fire the jQuery simpleMobileMenu Plugin
;
Plugin Options
- submenuClass
Mobile menu submenu class.This class should be there in each submenu UL's(Default : submenu) - hamburgerId
Mobile menu Hamburger Id.(Default : sm_menu_ham) - wrapperClass
Mobile menu wrapper element class.(Default : sm_menu_outer) - menuStyle
2 Menu Styles : Slide & Accordion.(Default : slide)
Callbacks
- onMenuLoad
Executes immediately after the mobilemenu is fully loaded.Function argument is the current mobile menu element
- onMenuToggle
Executes on mobile menu toggle(open/close).Function argument is the current mobile menu state.
Getting started
Include Stylesheet
Include JS
Setting up HTML
Menu 1 Menu 2 Sub Menu 1 Sub Menu 2 Sub Sub Menu 1 Sub Sub Menu 2 Sub Sub Menu 3 Sub Menu 3 Menu 3
Setting up JS