Tiny Responsive jQuery Navigation Menu Plugin - PgwMenu
File Size: | 20.6 KB |
---|---|
Views Total: | 3420 |
Last Update: | |
Publish Date: | |
Official Website: | Go to website |
License: | MIT |
PgwMenu is a lightweight, easily stylable, responsive jQuery menu plugin which has the ability to convert a horizontal navigation into a dropdown menu if its container is not large enough.
How to use it:
1. Add the core style into the head section of your page.
<link href="pgwmenu.css" rel="stylesheet">
2. Create a navigation menu with Html unordered list.
<ul class="pgwMenu"> <li><a href="#" class="selected">Link 1</a></li> <li><a href="#">Link 2</a></li> <li><a href="#">Link 3</a></li> <li><a href="#">Link 4</a></li> <li><a href="#">Link 5</a></li> <li><a href="#">Link 6</a></li> </ul>
3. Call the plugin with default settings.
$('.pgwMenu').pgwMenu();
4. Available settings.
mainClassName : 'pgwMenu', dropDownLabel : '<span class="icon"></span>', viewMoreEnabled : true, viewMoreLabel : 'View more <span class="icon"></span>', viewMoreMaxWidth : 480
Change logs:
2015-01-29
- Update pgwmenu.js
2014-09-22
- Added "ViewMore" option
2014-07-20
- Update CSS
This awesome jQuery plugin is developed by Pagawa. For more Advanced Usages, please check the demo page or visit the official website.