|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Disable right click in Firefox
Frnds,
How can I disable right click in Firefox. Iam using SVG in my application. So, when user right click on SVG area the default menu needs to be disabled and my own created menu should be displayed. I am able to do that in IE. The same code is not working for Firefox. Can somebody tell me how to disable it for Firefox? Here is the code iam using. Code:
function rightClick(evt) {
showTooltip(evt, false);
evt.preventDefault();
evt.stopPropagation();
var nodeID = DragTarget.getAttributeNS(null, "id");
top.rightClickMenu(nodeID, gStage);
}
Waiting for some reply//// |
|
#2
|
||||
|
||||
|
__________________
Daryl's Homepage | My Blogroll | My Profile | Firefox supporter! DevArticles Forum Moderator "The net is a waste of time, and that's exactly what's right about it." -- William Gibson |
| Viewing: Dev Articles Community Forums > Web Design > Advanced Web Development > Disable right click in Firefox |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|