Submit your widget

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

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