[thelist] JS image preload problem in NS4

Peter-Paul Koch gassinaumasis at hotmail.com
Wed May 30 05:04:35 CDT 2001


>I am going silly trying to figger out why my image preload function won't 
>work in NS4.x

>If I query the length of document.images at the end, it returns 0.

The document.images array only contains those images that are actually shown 
in the page. You've loaded images into your own array, well and good, they 
are accessible through this array, but not through document.images because 
they aren't (yet) visible.

>When I try to rollover an image,
>Netscape reports that 'document.whateverimage' has no properties.

That doesn't have anything to do with the preload script, the error is in 
the actual mouseover/out functions. We need to see the page (URL please) to 
solve it.

ppk
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.





More information about the thelist mailing list