Visit the Website, lab.jakiestfu.com/contextjs/
Context.js is a lightweight solution for contextual menus. Currently, there are two versions.
The first is to be used with Twitters Bootstrap (bootstrap.css specifically). If you do not use or want to use bootstrap.css, there is a standalone stylesheet to give the menu it's base styles.
- Linted: Valid JS
- Can be used with or without Twitters Bootstrap.css
- Icon support for menu items with Twitter Bootstrap icons, and jquery ui-icons
- Event Based Links
- Anchor Links
- Headers
- Dividers
- Recursive Menus (infinite depth)
- Vertical Space Detection (turns into a "dropup")
- Horizontal Space Detection (Drops to the left instead of right)
- Add/Delete menus Dynamically
- Even works on Inline Links
- Dynamic menu items through callbacks during menu creation
- Lets you declare a callback to be triggered, before menu opens
- Lets you pick between left and right click to use as your menu trigger