[thelist] Netscape Javascript not working - DOM problems

Peter-Paul Koch ppk at xs4all.nl
Sat Sep 9 14:08:49 CDT 2000

>Could any of you have a look at the following page and figure out why the
>javascript rollover isn't working in netscape?
>My guess is that it's because the image is in a div, so my object reference
>has to change. How do I reference an image in a div in netscape?

if (document.layers) // NN4
	document.layers['menubar'].document.images[imgName].src = etc.
else if (document.images) // other browsers
	document.images[imgName].src = etc.


More information about the thelist mailing list