right click

  • Thread starter Thread starter Binny
  • Start date Start date
Yes. You remove expected behavior from a user's hardware, and will most
likely annoy them.

Why would you want to do this anyway?

Bob Lehmann
 
you have to call a javascript routine. Use something like
this:

<html>
<head>
<script type="text/javascript">
function disable()
{
if (event.button == 2)
{
alert("Sorry no rightclick on this page.\nYou cannot view
my source\nand you cannot steal my images.")
}
}

</script>
</head>
<body onmousedown="disable()">
<p>Right-click on this page to trigger the event.</p>
<p>The event property is not recognized in Netscape.</p>
</body>
</html>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top