Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Pre-loading images

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #24302
    brianK
    Member

    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:

    Code:

    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!

    #54771
    ikthius
    Member

    I always used this as a pre-loader:

    Code:
    #54782
    brianK
    Member

    Good to know. Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.