jQuery Context Menu Plugin
Okay, this jQuery plugin (by Cory S.N. LaViska) is awesome:
Basically you can achieve a right-click drop-down menu via the following jQuery code:
$("#selector").contextMenu({
menu: 'myMenu'
});
Where ‘myMenu’ is the id of the HTML you want to appear as the menu:
<ul id="myMenu" class="contextMenu"> <li class="first_option"> <a href="#first_option">Option #1</a></li> <li class="second_option"> <a href="#second_option">Option #2</a></li> </ul>
I may need to use this in my next version of Chalk
Tags: jQuery