Submit your widget

Create context menus (right-click menus) for any element with jquery

Created 11 years ago   Views 12088   downloads 1371    Author travishorn
Create context menus (right-click menus) for any element with jquery
View DemoDownload
17
Share |

Description

Create Chrome-styled context menus (right-click menus) for any element with jQuery.

Example usage

$('#one').chromeContext({
  items: [
    {
      title: 'Hello',
      onclick: function () { console.log('hello.'); }
    },
    { separator: true },
    {
      title: 'World',
      onclick: function () { console.log('world.'); }
    }
  ]
});