-
anyone know the html code for disabling the right click on a movie?
-
An Inconvenient Serving Size
Try this
<SCRIPT LANGUAGE='javascript'>
//<!--
function rightclick(e){
if(document.all){
if(event.button==2 || event.button==3){
alert('Sorry, all the images on this page are copyrighted.');
return false;
}
}
if(document.layers){
if(e.which == 3){
alert('Sorry, all the images on this page are the copyrighted.');
return false;
}
}
}
if(document.layers){
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=rightclick;
//-->
</SCRIPT>
Cheers
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|