|
|
|||||||
|
Hello James, Nice site, I enjoyed looking at it. You have some very nice pics on there and you can prevent people 'stealing' them by adding this code... ( script language="JavaScript" type="text/javascript"> var msg="Right Click Disabled!"; function disableIE() {if (document.all) {alert(msg);return false;} } function disableNS(e) { if (document.layers||(document.getElementById&&!document.all)) { if (e.which==2||e.which==3) {alert(msg);return false;} } } if (document.layers) { document.captureEvents(Event.MOUSEDOWN);document.onmousedown=disableNS; } else { document.onmouseup=disableNS;document.oncontextmenu=disableIE; } document.oncontextmenu=new Function("alert(msg);return false") </script ) Place < > at the ends instead of ( ) Also to prevent the small toolbar appearing when the cursor drifts over your photo you can add this script (meta http-equiv="imagetoolbar"content="no" ) once again swapping ( ) for <> at each end. good work, Ellen
|