Option 1:
<body oncontextmenu="return false">
...
</body>
Option 2:
<script language="javascript">
document.onmousedown = disableclick;
status = "Right Click Disabled";
Function disableclick(e)
{
if(event.button == 2)
{
alert(status);
return false;
}
}
</script>
<body oncontextmenu="return false">
...
</body>
Option 2:
<script language="javascript">
document.onmousedown = disableclick;
status = "Right Click Disabled";
Function disableclick(e)
{
if(event.button == 2)
{
alert(status);
return false;
}
}
</script>
No comments:
Post a Comment