|
|
|
JAVASCRIPT - No Right Click
|
Add this code segment to your html code between the
<Head></Head> tags.
<script language="Javascript1.2">
message = "Function Disabled!";
function NoRightClick(b) {
if(((navigator.appName=="Microsoft Internet Explorer")&&(event.button > 1))
||((navigator.appName=="Netscape")&&(b.which > 1))){
alert(message);
return false;
}
}
document.onmousedown = NoRightClick;
// -->
</script>
|
|
|
|
|
|