Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Preloading of linked images using Javascript and CSS

Status
Not open for further replies.
Dec 8, 2003
17,047
GB
If you have a list of images on your page, linked to with an HREF, and you'd like to preload some (or all) of those images before the user clicks on the links, consider the following FAQ that I've just posted in the Javascript Forum: faq216-4652

Most preload code requires you to specify a list of image filenames to preload. The solution provided in the FAQ avoids that necessity, and thus gives you the flexibility to include the script on multiple pages really easily.

Hope this helps!

Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top