Forums

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

Home Forums CSS Preloading background images that are in an inline style Re: Preloading background images that are in an inline style

#120493
prasanthmj
Member

Whether the image is in the HTML or not, what the browser checks is the URL of the image and see whether it is already loaded or not. Try using one of the tricks here (http://stackoverflow.com/questions/476679/preloading-images-with-jquery) loading all the background images one by one.