What downloads first

Discussion in 'HTML & Website Design' started by oo7ml, Feb 7, 2008.

  1. #1
    Is there a way to control what is downloaded first on your page. For example, lets say my page has 10 images (background, menu icons, pictures etc...) Is there a way to control what downloads and displays first or how does a browser choose what to download first, thanks in advance
     
    oo7ml, Feb 7, 2008 IP
  2. ToddMicheau

    ToddMicheau Active Member

    Messages:
    183
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    58
    #2
    See if this helps you-

    http://elouai.com/javascript-preload-images.php

    It's a tutorial on the javascript function preloadImages(), I may do what you want.
     
    ToddMicheau, Feb 7, 2008 IP
  3. oo7ml

    oo7ml Well-Known Member

    Messages:
    656
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    105
    #3
    Hi, thanks for your reply, however, the question i am asking is; how does your browser choose what to download first (how does it pick which image to download first)

    I know we can use the preload image function in JS but how does it naturally choose what to download first, thanks
     
    oo7ml, Feb 7, 2008 IP