View Full Version : Disable right click

05-11-2006, 12:01 AM
I searched all through this forum to see if there is a code to disable right click just using html,dhtml,css but no javasript and i couldnt find anything. Is this possible?

Thank you for any help you can provide.

05-11-2006, 12:11 AM
First three here:

And, don't use them.
You can't protect your source code. you cannot protect your images, and you can't protect your other content.
No matter what you do, it can be worked around, easily too.

the only use of that script is to annoy people and stop (only the) stupid viewers from saving pictures. That's really it.

05-11-2006, 12:19 AM
thank you

05-11-2006, 04:40 AM
DHTML (though not an official designation) includes HTML, css and javascript. Disabling right click is only useful for design purposes, say - you need it for something else on the page or it would cause the design to do something odd. It will not protect content. We have copyright law for that.