Go Back   CodingForums.com > :: Client side development > JavaScript programming > DOM and JSON scripting

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
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
Reply

Bookmarks

Tags
images, load, order, priority

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:20 PM.


Advertisement
Log in to turn off these ads.