Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

jquery-ui menu as context menu

How do I use http://jqueryui.com/menu/ as a context menu on right mouse click. Is there a plugin or something?

jquery-1.9.0 jquery-ui-1.10.0

like image 618
user007 Avatar asked Jan 14 '23 09:01

user007


2 Answers

Here I started a plugin for this purpose: jquery-ui-contextmenu (supports delegation and creating menu definitions from JS objects).

like image 60
mar10 Avatar answered Jan 31 '23 05:01

mar10


Here's a solution quickly hacked together from the jquery ui sample page: jsBin

like image 28
Svetlin Panayotov Avatar answered Jan 31 '23 07:01

Svetlin Panayotov