| Basic, Simple Template View |
| See What The Page Looks Like |
| Start copying this template below where you see <SCRIPT> . That's the beginning of the code. It ends where you see </SCRIPT>You may have to copy and paste the code in two sections if there is a commercial in the way. You don't want to copy and paste the commercial and the code around it. Then paste the HTML code in your HTML editor. |
<SCRIPT LANGUAGE="JavaScript1.1">
<!--
function right(mousebutton)
{
var msg1 = "Hey!! Look but don't touch!!";
var msg2 = "Isn't this the most annoying script since BLINK?!";
if (navigator.appName == 'Netscape' && mousebutton.which==3)
{
alert(msg1);
return false;
}
else
if (navigator.appName == 'Netscape' && mousebutton.which==1)
{
alert(msg2);
return false;
}
else
if (navigator.appName == 'Microsoft Internet Explorer' && event.button == 2)
{
alert(msg1);
return false;
}
else
if (navigator.appName == 'Microsoft Internet Explorer' && event.button == 2)
{
alert(msg2);
return false;
}
return true;
}
document.onmousedown = right;
// -->
</SCRIPT>
Back To the Description
This script has been in the Javascript Public Library!
