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: nolonely Date: June 5, 2004


From: Erik Arvidsson
Sent: June 5, 2004
Subject: Re:disabled right click in moz?
how can I know which version and which type of the browser support dom2?
 
thx

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