1

I am looking to add, via javascript an item to the right click context menu on a website, how do I do that?

I have been looking around the web but have found nothing, so if you have a link to a good article that would be great.

I also know there is some compatibility issues with Opera but I am not worried about that right now.

Thanks, R.

Of course I post and instantly find a good tutorial:

http://luke.breuer.com/tutorial/javascript-context-menu-tutorial.htm

1
  • So it would still be the browser's context menu, but with something specific to your website added? Commented Oct 30, 2009 at 21:38

3 Answers 3

3

jQuery has Context Menu implementation.
Here is a live demo.

Sign up to request clarification or add additional context in comments.

2 Comments

Both links are broken now - has the site been archived, by any chance?
Here's a simple implementation of a JQuery context menu that I found: stackoverflow.com/questions/4495626/…
1

Yahoo!'s YUI library has a nice menu component, which has a ContextMenu. You'll have the same problem you noted with Opera, but across the browsers it works nicely and it's easy to integrate your functions and style the menu.

Comments

0

You can also use another jQuery plugin, Audero Context Menu.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.