[Javascript] Image PreLoad

Terry Riegel riegel at clearimageonline.com
Thu Sep 21 13:23:09 CDT 2006


Sorry, I was unclear in my original post. I would like to preload an  
image and fire an event once it is loaded. Is this possible?

Terrry


On Sep 21, 2006, at 11:49 AM, Flávio Gomes wrote:

> 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
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript




More information about the Javascript mailing list