Simple jQuery menu slider
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information. Update Jul 9, 2013
jquery.menuSlider.js Update Jul 13, 2013
jquery.menuSlider.min.js Update Jul 13, 2013 Create Jul 7, 2013
menuSlider.jquery.json Update Jul 13, 2013


Simple jQuery menu slider

Steps to use the Slider:

Wrap your navigation menu in a container as shown:

<div id="slideContainer">
		<li class="selectedMenuItem">One</li>

Call the menuSlider on the container ({Border Thickness, Border Style, Border Color, Sides of Border, Background Color, Background Border Radius, Transition Speed, Transition Type}):

				 bgColor:"rgba(0,0,150,0.4)", bgRadius:"10px", 
				 speed:.4, tStyle:"linear"});

Note: Ensure to include the JQuery library

The item the slider returns to has an class of "selectedMenuItem". To switch which item is the current item, change which item has the selectedMenuItem class. I achieved it above by adding a click function in the script (Not included in download) because I wasn't linking to any pages.

See Demo Here