This is a simple jQuery plugin to convert menus into a select element for mobile devices and low browser widths. usage: $(document).ready(function(){ $('ul#id').mobileMenu({ switchWidth: 768, //width (in px to switch at) topOptionText: 'Select a page', //first option text indentString: ' ' //string for indenting nested items }); });
christianhanvey/Responsive-Menu
Turns any <ol> or <ul> into a <select> for mobiles and low browser sizes
JavaScript