Submit your widget

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

Created 11 years ago   Views 11917   downloads 1346    Author travishorn
Create context menus (right-click menus) for any element with jquery
View DemoDownload
16
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.'); }
    }
  ]
});