View Full Version : Jquery Context Menu Plugin

09-04-2009, 10:41 AM
I have to create an own Context Menu for a website and found the JQuery Context Menu Plugin:
Demo: http://abeautifulsite.net/notebook_f...ntextMenu.html

Despite my non existing Javascript experience i managed to include the Plugin into my website but still have a problem left:

There are 2 different .js Files (which i think i dont need to post here, because they just activate the plugin and i dont have to change anything there) included and this code:

<script type="text/javascript">

$(document).ready( function() {
menu: 'myMenu'
function(action, el, pos) {

This just writes "abc" if you click on any entry within the context menu but i dont know how to allocate different functions to the different context menu entries.

Would be very helpful for me if you take 5 minutes to take a look how this jquery plugin works. Maybe you figure out how to solve my problem