🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

NavSide is a jQuery sidebar navigation plugin which helps you implement a mobile app style off-canvas menu with smooth slideIn / slideOut effects on your webpage.

side-menu off-canvas-menu

Documentation

NavSide

DEMO: http://carlosmarch.es/navside/

How to use

Include Jquery & Jquery Easing in your website. Add also navside.js & navside.css in your page.

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script> <script src="assets/js/jquery.easing.min.js" type="text/javascript"></script>  <script src="assets/js/jquery.navside.js" type="text/javascript"></script> <link href="assets/css/navside.css" rel="stylesheet" type="text/css" />

Create a menu with the id #navside, and put it just after the 'body' tag.

<nav id="navside">     <ul>       <li><a href="#">Home</a></li>       <li><a href="#">Page-1</a></li>       <li><a href="#">Page-2</a></li>    </ul> </nav>

Call the plugin with options.

$("#navside").navside({     position         : 'left',   // options for Position: 'left' or 'right'. Default is 'right'     scroll           : 'fixed'  // options for Scroll: 'hidden' or 'fixed'. Default is 'hidden' }); 

You May Also Like