View Single Post
Old 08-21-2008, 08:03 PM   PM User | #1
savingstrangers
New Coder

 
Join Date: Apr 2008
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
savingstrangers is an unknown quantity at this point
Loading Images in a certain order

Sorry I assume this has been discussed, but I couldn't find anything quite what I needed from searching the forums...

Basically I'm loading lets say... 50 images on a single page, all are display:none, except for the first one... , so you don't see the images as they load, but they are loading for a while in the background.

I need to load the images in a particular order, not just the order they appear in the HTML, so say I need to load the first 3 images of the 'doodles' section, the 'illustrations' section and the 'life' section.... then after the first 3 of each of those sections are loaded, continue loading the other images after those priority images are loaded.

Is there a decently lightweight/easy way to do this?

Thanks!

Nick
savingstrangers is offline   Reply With Quote