Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

contextmenu is a context menu (right click menu) jQuery plug-in.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 LICENCE.md
Octocat-spinner-32 README.md
Octocat-spinner-32 contextmenu.css
Octocat-spinner-32 index.html
Octocat-spinner-32 jquery.contextmenu.js
Octocat-spinner-32 rightclick.jquery.json
README.md

contextmenu

contextmenu is a jQuery plug-in for context menu (right click menu).

You can change menu style with plugin options easily.

Tested 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)

You can check it on gokercebeci.com/dev/contextmenu.

Usage

<script src="jquery.contextmenu.js"></script>
<link rel="stylesheet" href="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, // 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.

License

It is under MIT License.

Developer

goker

Something went wrong with that request. Please try again.