Results 1 to 5 of 5
Thread: How can I preload these images?
Aug 17, 2007, 19:06 #1
- Join Date
- Aug 2007
- 0 Post(s)
- 0 Thread(s)
How can I preload these images?
Here is how I am calling it:
<img id="1" src="images/about.jpg" class="gradualshine" onMouseover="h('1','d'); d(450,245,'images/about_desc.jpg',500,35)" onMouseout="l('1'); l0('d')" alt="" border="0" width="171" height="162">
("d" is a div object that is not visible until this script activates it)
This is being used on http://www.tccommerce.com.
What I need to do is preload six images. What's happening is that the menu graphics load, then the user is moving the mouse over each one, but there is often a delay while the browser downloads "about_desc.jpg" and the images that correspond to the other menu options.
I need to tweak this script to preload these images so it is seamless. Any help is greatly appreciated.