Skip to content

christianhanvey/Responsive-Menu

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

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
	});

});

About

Turns any <ol> or <ul> into a <select> for mobiles and low browser sizes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%