Submit your widget

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

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