A Plugin which turns your site's navigation into a dropdown (<
select>) when your browser is at mobile widths.
The options available for the plugin are listed below. Their default value appears next to their names, and available values below the description.
Convert multiple navigation lists into a single dropdown for mobiles [true/false]
<li> elements with
<ul>/<ol> present get converted to an
<optgroup> isn't selectable, a "dummy"
<option> is added at the top of the group with the
This option sets the text for the "dummy"
This turns the
<optgroup>s on and off
Sets the container element for the menu to be put into. ['CSS-selector']
Sets the width (in pixels) at which the site's menu(s) will change to a
Sets the very first
<option>'s display text.
Setting this to NULL will prevent it from displaying
The plugin can be used like any other jQuery plugin:
There isn't one, because I'm nice. Feel free to say "thanks" or attribute the script to this page if you find it useful.