PDA

View Full Version : NS6 and Javascript



razor
January 10th, 2001, 22:00
is it me, or does NS6 not support onclick and onload?

Mrh0ax
January 10th, 2001, 22:26
um, i dont use netrape alot but i know that netrape doesnt work well with tags, if they are one bit whack.. if i can see the page url to look at it in both ie and netrape

Grant
January 11th, 2001, 00:29
Originally posted by razor
is it me, or does NS6 not support onclick and onload? It does support them both. It really depends on where you are doing it. If you are adding the 'onclick' call in your html page, then they will work just the same as in IE. However, if you are trying to use them in your javascript code, you have to change the syntax. So if your javascript code, you use this for IE:

this.layer.onclick = ItemClick;

In NS6, you have to add the event listener like this:

this.layer.addEventListener("click", ItemClick, false);

razor
January 11th, 2001, 05:46
i used it in the html tags, but i dont think i downloaded the javascript support.

Cael
January 11th, 2001, 06:22
I am a Netscape fan, and I am having trouble with XPCOM.DLL when I wanna use n6 . Can anyone can send me that file?

Send it to seejianjye@hotmail.com please...
I wanna use n6 very much. :D

Nick
January 11th, 2001, 19:14
Originally posted by Mrh0ax
um, i dont use netrape alot but i know that netrape doesnt work well with tags, if they are one bit whack.. if i can see the page url to look at it in both ie and netrape

You people must suck --- at html or I am greatly talented because you guys make Netscape bug fixing is hard. It takes aprox. 1-5 minutes for every design I make anymore. Half the time it's just some ****up I made and IE automatically fixed it for me :p.

I've had problems when I code in an editor, maybe that's the problem :confused: