goker / contextmenu

DEVELOPMENT AREA

SAMPLE

jQuery Context Menu v1.1.1


contextmenu is a context menu (right click menu) jQuery plugin.

I developed it to use on my basepart project.

I've only tested it on

  • Chromium (14.0.835.202),
  • Google Chrome (15.0.874.120),
  • Mozilla Firefox (3.6.17),
  • Opera (11.52)
  • Internet Explorer (8.0.6001)

and it works enough for me for now!

It is under MIT License.

developer goker.cebeci, the developer

github download or fork it on github

CONTEXTMENU

CONTEXTMENU DARK

* click to ctrl for disable to contextmenu

USAGE

<script src="/data/dev/contextmenu/jquery.contextmenu.js"></script>
<link rel="stylesheet" href="/data/dev/contextmenu/contextmenu.css" />
<script>
  $(document).contextmenu({
    menu: {
      'custom link 1' : 'http://...',
      'custom link 2' : 'http://...'
    }
  });
</script>

OPTIONS

init   : function(){}, // Optional init function.
start  : function(){}, // Optional start function
finish : function(){}, // Optional finish function.
ctrl   : false, // Default false. Optional. If you right click with ctrl key 
the contect menu do not show. [true,false] Default value is true;
style  : 'dark', // Optional class name.
menu   : {}  // Required menu object.

/DEVELOPMENT AREA