Lightweight Popup Menu Plugin For jQuery - Popr
File Size: | 64.5 KB |
---|---|
Views Total: | 4692 |
Last Update: | |
Publish Date: | |
Official Website: | Go to website |
License: | MIT |

Popr is a simple lightweight jQuery plugin which enables you to create a popover like popup menu appending any DOM elements.
How to use it:
1. Add jQuery library and the jQuery popr plugin's files into your web page.
<script src="jquery.min.js"></script> <link rel="stylesheet" href="popr/popr.css"> <script src="popr/popr.js"></script>
2. Create a popup menu appending an inline element.
<div class="popr" data-id="demo">Click me</div> <div class="popr-box" data-box-id="demo"> <a href="#"><div class="popr-item">Menu Item 1</div></a> <a href="#"><div class="popr-item">Menu Item 2</div></a> <a href="#"><div class="popr-item">Menu Item 3</div></a> </div>
3. Enable the popup menu plugin with just one JS call.
$('.popr').popr();
4. Config the animation speed and position of your popup menus.
$('.popr').popr({ 'speed' : 200, 'mode' : 'bottom' });
This awesome jQuery plugin is developed by Tipue. For more Advanced Usages, please check the demo page or visit the official website.