picture help

liunx

Guest
Is there a way to keep someone from Download <!--more-->ing or copying or saving(whatever) a picture I have on my webpage. You know, so it wont get "save pic as" and all that stuff.<br />
<br />
I was wondering... if so.., can you please post the commands or script for that. I would really appreciate it.<br />
<br />
Thanks..<br />
<br />
war<!--content-->this prevents right clicks; but anyone can still Download <!--more--> your graphics.<br />
<br />
<script language="JavaScript"><br />
var msg="Right Click Disabled!";<br />
function disableIE() {if (document.all) {alert(msg);return false;}<br />
}<br />
function disableNS(e) {<br />
if (document.layers||(document.getElementById&&!document.all)) {<br />
if (e.which==2||e.which==3) {alert(msg);return false;}<br />
}<br />
}<br />
if (document.layers) {<br />
document.captureEvents(Event.MOUSEDOWN);document.onmousedown=disableNS;<br />
} else {<br />
document.onmouseup=disableNS;document.oncontextmenu=disableIE;<br />
}<br />
document.oncontextmenu=new Function("alert(msg);return false")<br />
</script><!--content-->thanx buddy.<!--content-->
 
Back
Top