
August 29th, 2003
12:28 PM
Disable Right Click
Hi everyone,
I would like to know how to disable right clicking on a web page. Normally I strongly disagree with disabling any of a visitors basic functions (back button, etc), but I need to prevent people from stealing photos of my work. If I can do that, then when I ask a client if I can post it on the web, they will be much more willing to oblige.
Thanks for the help,
Cheerio Girl
___________________
Life is what you make of it, so stop blaming everyone else!

August 29th, 2003
12:34 PM
Neverside Newbie
Status: Offline!
Don't do that. It's very annoying to take away basic functions like that. Your picture can be stolen anyway. A simple click on page source or view source will do that for you. Plus, it doesn't always work in all browsers.The only way is to take it to the client personally and show it to him/her/them or watermark your image and make sure they know why.
___________________
Travis Farrell


August 29th, 2003
12:36 PM
Why not just watermark the images? If you want more of my opinions on this, check my post here:
http://www.tutorialforums.com/showthread.php?s=&threadid=48333#post406655
Although, I will help you. This is the best cross-browser way to do it:
<body oncontextmenu="return false;">
Hope that helps you out.
___________________


August 29th, 2003
02:56 PM
Neverside Newbie
Status: Offline!
Another way to do it would be to put the pictures in flash.
But you can always press the print screen button, paste it into photoshop then crop the picture. There is always a way around it!

August 29th, 2003
03:30 PM
Neverside Newbie
Status: Offline!
unless you store it in an avi, in which case screenshots will not work and the person would have to decode it and take the pictures out, you're pretty much exposing the images. You should make a light watermark over the image, either over the whole thing but with significant opacity (transparency). That way even cropping is no good.

August 29th, 2003
04:03 PM
Thanks everyone, I'm inclined to agree with you all. It goes against everything in me to disable any basic functions. However, there's another thing I thought of in reading all of your posts...I'm only putting up low quality GIFs of my work. They may be able to use it on their own websites, but they won't be able to print them very well. Plus, the watermark would put an end to all of it. That's my next step, to watermark all of my images.
Thanks for setting me straight! Sometimes I get so close to my own projects I can't see straight anymore!
Thanks!
Cheerio Girl
___________________
Life is what you make of it, so stop blaming everyone else!