...is a lightweight jQuery plugin that changes anchor (<a>)
elements to a drop-down list for responsive designs.
It is an alternative to TinyNav.js that does not make any assumptions about your markup, nor need any CSS for basic operation (see more below).
- Now supports multiple navs on a page.
Use is very simple:
$('wrappingElement').mobileNav();
By default, the plugin activates when the screen is 767px wide or less. Set a custom value like this:
$('wrappingElement').mobileNav(600); // Must be an Integer
The only CSS you should need to write will be styling the actual drop-down list to match your site's theme. To do that use:
#mobileNav {/*
my:styles;
go:here
*/}