A mobile-first, progressively enhanced, standards based, responsive navigation menu system. Need any more buzzwords?
mo.js is made up of two primary parts.
Here's how it works:
HTML structure will follow the default WordPress menu output. CSS/Javascript will take inspiration from sources such as the Superfish menu and responsive-nav.com.
First of all, you'll need the mo.js file, which is located in the js folder.
In the js folder, you'll also see the demo.js file, which you need to apply the mo.js file script to your menu. You can do that either by loading the demo.js file and modifying it, or by adding that code to the mo.js file, or by placing it in another javascript file, or even in the header or footer of the theme.
After that, you'll need to load the CSS file (which is located at css directory) or add the CSS file in your stylesheet.
The goal is for it to work like this: