Posted by techfiddle on 11/01/06 02:20
richard wrote:
> Unless you personally took the image with your own camera, you do not own
> rights to that image.
I paid someone to take the image. So I think I own the rights to it.
This block of code may work:
<script language=JavaScript>
<!--
//Disable right mouse click Script
//By Maximus (maximus@nsimail.com)
//For full source code, visit http://www.dynamicdrive.com
var message="Sorry This function is disabled. The graphics and script
on this page are not Public Domain and are not available for download
or use.";
///////////////////////////////////
function clickIE() {if (document.all) {alert(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {alert(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>
Not sure, about to try it. Which is from:
http://www.sheilascorner.com/sheila.shtml
Sheila's code is a total mystery to me.
[Back to original message]
|