Disable Right Click in IE

Java Script:

<script language="javascript">
document.onmousedown=disableclick;
status="Right Click Disabled";
Function disableclick(e)
{
if(event.button==2)
{
alert(status);
return false;
}
}

</script>

HTML Coding:

<body oncontextmenu="return false">
...
</body>

0 Comments

Featured Post

C# Object and Dynamic Types

This blog provides an in-depth explanation of object and dynamic types in C#. Object Type 1. Overview object ...

MSDEVBUILD - English Channel

MSDEVBUILD - Tamil Channel

Popular Posts