8

http://pastebin.com/YyDzQ4Bk this is a plugin for right click context menu, anyone know why it doesn't work in IE?

Not only that, it's breaking many of my other jQuery things, such as fancy box and some jQuery hover functions.

1 Answer 1

32

Do you really need a plugin?

You could make your own context menu using contextmenu event:

$("element").bind("contextmenu",function(e) {
    e.preventDefault();

    // create and show menu
});

Some ways to achieve it

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

3 Comments

Create a ul, li s. Append li to ul and append on the page. Set ul position to absolute, left and top with e.pageX and e.pageY. I will update my answers with some links.
if the element is created dinamicy you need to use live instead of bind
now you should use .on if your element is created dynamically see: andismith.com/blog/2011/11/on-and-off

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.