Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Image PreLoad


  • From: riegel at clearimageonline.com (Terry Riegel)
  • Subject: [Javascript] Image PreLoad
  • Date: Thu Sep 21 13:23:33 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@xxxxxxxxxx
>> https://lists.LaTech.edu/mailman/listinfo/javascript
>
>
> -- 
> Flavio Gomes
> flavio@xxxxxxxxxxxxxxxx
>
> _______________________________________________
> Javascript mailing list
> Javascript@xxxxxxxxxx
> https://lists.LaTech.edu/mailman/listinfo/javascript