PDA

View Full Version : Disable right click in popup windows


pollygordon
11-Apr-2003, 10:52 AM
Hi,

I'd be grateful for any advice please. I've added a Javascript function to Act_Primary to disable right click as many of the images on my site are copyrighted.

This works in the brochure pages but not when I use popups to display larger images.

Can anyone advise where I can add the Javascript to so that I can correct this.

Thanks very much!

Pauline

Owen Drumm
11-Apr-2003, 11:53 AM
Add the javascript to Act_ExtendedInfo.html. Normally it goes between the two <head> attributes

Owen Drumm
11-Apr-2003, 11:58 AM
One other thing though, if someone wants to steal your pictures they will as the javascript doesn't stop them from printing the screen or viewing the source code through the browser. If you are that serious about not letting anyone take your images put some text over them, for instance the name of your website