The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Programming Fundamentals" Dec 02 - 2:00 PM Eastern

Pre-loading images

  • # March 6, 2009 at 2:35 pm

    Maybe this has been asked 1000 other times. But I can’t seem to find a good post about ‘Preloading images’

    What is the best way to pre-load images for other pages on a site? I understand there is CSS, Jquery and other JS techniques, but what is the easiest and most effective way?! Currently I am using an ‘Array’ and I’m ‘pre-loading’ about 15 images total:


    This works ok but creates W3C issues! It's not the end of the world for me but would like to get it out of my hair!

    Any help, comments or concerns would be greatly appreciated!

    # March 7, 2009 at 7:07 am

    I always used this as a pre-loader:

    # March 7, 2009 at 4:32 pm

    Good to know. Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed