jQuery-chromeContext

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

View the Project on GitHub travishorn/jquery-chromeContext

chromeContext

Build Status

Description

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

Example usage

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

Screenshot

chromeContext screenshot

Demo

See the demo directory in the repository or see the online demo.