[Javascript] Pre-load images

Guillaume javascript at webdesignofficina.com
Thu Aug 14 06:14:14 CDT 2008


> Hi gang:
>
> I have a script that pre-loads images (who doesn't?).
>
> Without the pre-load, I get major flashes on image roll-overs.
>
> With pre-load, it cuts the flashes down to almost nothing. But I 
> still notice flashes occasionally on image roll-overs  -- is that to 
> be expected? Is that a browser thing or should it not happen at all?
>   

This can happen if you clear the browser cache while your page 
containing the rollover is still open...
When you go to the open page, call the rollover again, the image is not 
there anymore so the browser calls the image again and that's probably 
why you get the flash...
The simplest explanation I have from my experience...
Hope this helps.

Guillaume

> Thanks,
>
> tedd
>
>
>   




More information about the Javascript mailing list