Freepages-Help-L Archives
Archiver > Freepages-Help > 2004-05 > 1083514175
From: <>
Subject: Re: coding question
Date: Mon, 3 May 2004 01:39:35 +0930
References: <410-2200450203451520@earthlink.net>
While you cant stop people copying pics you can disable the right click properties of the mouse if they try to save a pic and also set a warning/message to deter people. You will need to change the message for the alert box in the script below
The following script needs to be place in between your head tags
Thanks
Michele
<script language="Javascript1.2">
// (C) 2000 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this header
// Set the message for the alert box
am = "All images on this site are protected and not to be copied or reproduced without the express permission of your name";
// do not edit below this line
// ===========================
bV = parseInt(navigator.appVersion)
bNS = navigator.appName=="Netscape"
bIE = navigator.appName=="Microsoft Internet Explorer"
function nrc(e) {
if (bNS && e.which > 1){
alert(am)
return false
} else if (bIE && (event.button >1)) {
alert(am)
return false;
}
}
document.onmousedown = nrc;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (bNS && bV<5) window.onmousedown = nrc;
</script>
----- Original Message -----
From: Joyce Reece
To:
Sent: Sunday, May 02, 2004 10:04 AM
Subject: coding question
Could anyone tell me what is the method (in Front Page 2000, if possible) for insuring jpg's, etc can't be saved from the internet. We'd like to post pics and articles that our local newspaper wishes to sell so since we don't want to hurt their business and increase ours we'd like to post them and not have them copied.
Joyce Gaston Reece
______________________________
This thread:
| Re: coding question by <> |