问题
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:
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
- jQuery Context Menu script
- Create a jQuery Context Menu for Treeview
- Right or Left Click Context Menu Using jQuery Demo
来源:https://stackoverflow.com/questions/3996204/jquery-right-click-context-menu-help