dmason165
03-14-2003, 09:37 AM
Good morning to all!
I am trying to get the following script to work, but cannot. What is the problem?
<script language="javascript">
function noLeftClick() {
if (event.button == 1) {
alert('Your mouse buttons have been disabled for this page. Please use the menu that brought you this page to navigate.')
}
}
document.onmousedown=noLeftClick
</script>
Thanks in advance for your help and your time.
~Darron
I am trying to get the following script to work, but cannot. What is the problem?
<script language="javascript">
function noLeftClick() {
if (event.button == 1) {
alert('Your mouse buttons have been disabled for this page. Please use the menu that brought you this page to navigate.')
}
}
document.onmousedown=noLeftClick
</script>
Thanks in advance for your help and your time.
~Darron