WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 disabled right click in moz?, nolonely, May 31, 2004
     Re:disabled right click in moz?, Erik Arvidsson, June 4, 2004
         Re:disabled right click in moz?, nolonely, June 5, 2004

Subject: Re:disabled right click in moz? From: Erik Arvidsson Date: June 4, 2004
Use DOM2 and the event name is contextmenu (just like in IE)

document.addEventListener( "contextmenu", function ( e )
{
e.preventDefault();
});

This only works if the user haven't disabled this.


erik



Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX