[Javascript] Image PreLoad

Flávio Gomes flavio at economisa.com.br
Thu Sep 21 10:49:04 CDT 2006


myPreload = document.createElement("img");

myPreload.src = "http://www.google.com/intl/en/images/logo.gif";


Maybe this would work too:
<img src="http://www.google.com/intl/en/images/logo.gif" width="0">

Both untested =)

Terry Riegel escreveu:

> Hello All,
>
> What is a good way to preload a single image?
>
> Terry
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript


-- 
Flavio Gomes
flavio at economisa.com.br




More information about the Javascript mailing list