Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

Sunday, April 28, 2013

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>
Post a Comment