i wish to turn off right click on my website so no one can copy and steal my
graphics or my pictures i have seen it on other websites where the right
click button on the mouse has been disabled anyone know how it is done please
DavidF - 04 Aug 2005 00:58 GMT
I will paste a script below, but hope you realize that disabling right click
will not prevent someone from 'stealing' your photos. The have a copy in
there internet temp folders after loading your page. If you post it on the
web, it can be copied. With that said, here is some script (and I found it
by googling for it, by the way):
<script language=JavaScript>
<!--
//Disable right click script III- By Renigade (renigade@mediaone.net)
//For full source code, visit http://www.dynamicdrive.com
var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
// -->
</script>
DavidF
> i wish to turn off right click on my website so no one can copy and steal my
> graphics or my pictures i have seen it on other websites where the right
> click button on the mouse has been disabled anyone know how it is done please
DavidF - 04 Aug 2005 01:15 GMT
Oh...and by the way, if you are using Pub 2003, then the right click option
is already disabled by default.
DavidF
> i wish to turn off right click on my website so no one can copy and steal my
> graphics or my pictures i have seen it on other websites where the right
> click button on the mouse has been disabled anyone know how it is done please