Results 1 to 2 of 2

Thread: Load images in order

  1. #1
    Join Date
    Dec 2005
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Load images in order

    Hi,
    I have ten images and I want that images to be loaded in a specified order. Can anyone help.

    Thanx.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Loaded where, in the browser's cache, on the page physically? Something else I'm not considering? In all likelihood, you mean physically in the page's layout. This is hard to assure as image files of various byte size will load at different rates and different browsers or even the same browser with different settings or the same settings but different connection speeds/conditions will deal with retrieving content as they see fit regardless of what you do, in most cases. I've noticed that if you use a single table and put one image in each cell, usually each will load in turn as long as the page isn't scrolled ahead and as long as some of the images are not cached and others are not. One strategy that might work is to use each image's onload event to begin the loading of the next image. This would require some clever coding to assure that no images except the first are loaded initially except, of course for non-javascript enabled browsers, which should be allowed to load the images anyway they can.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •