Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-04-2009, 09:41 AM   PM User | #1
sheen85
New to the CF scene

 
Join Date: Sep 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
sheen85 is an unknown quantity at this point
Jquery Context Menu Plugin

Hello
I have to create an own Context Menu for a website and found the JQuery Context Menu Plugin:
http://abeautifulsite.net/notebook/80
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:

Code:
 <script type="text/javascript">
 
    $(document).ready( function() {
		$("#Super").contextMenu({
		         menu: 'myMenu'
				                   },
			function(action, el, pos) {
                                 document.write("abc");                         
				                          });
                                               });
    </script>
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

Greets
Alex
sheen85 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:47 AM.


Advertisement
Log in to turn off these ads.