Here you can find a number of examples on Java Script.Please find the various kinds of examples listed on the right side of this site. If you don't find anything on Java Script then please write to us or leave a commnet. We are pleased to help and find the solution of your problem.

JavaScript: Disable right click options

<html>
<head>
<title>Disable right click options</title>
<script language="javascript">
function click()
{
<-------Javascript start-----
if(event.button==2)
{
alert("Disabled");
}
}
document.onmousedown=click
-------Javascript End-------->
</script>
</head>
</html>

No comments:

Post a Comment

Google