Click to See Complete Forum and Search --> : Function Disabled


ramiga
12-05-2002, 06:26 AM
I have a function disabled javascript on my web site and now that I have loaded netscape 7.0, it no longer works.

Javascript has a code that I use which is for ie4+ and netscape 4+.

Is there an updated code for netscape 7?

thanks for being here.

peace, mmg:confused:

ramiga
12-06-2002, 06:28 AM
</HEAD><script language=JavaScript>
<!--
var message="Function Disabled";
function click(e) {
if (document.all) {
if (event.button==2||event.button==3) {
alert(message);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
// -->
</script>

Thanks, mmg

ramiga
12-07-2002, 02:23 AM
Thanks Dave,

peace, mmg:) :)