PDA

View Full Version : Disable right click



viseversa2303
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.

djr33
05-11-2006, 12:11 AM
First three here:
http://www.dynamicdrive.com/dynamicindex9/index.html


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.

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

jscheuer1
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.