ToYourEscape
03-11-2004, 04:26 PM
Is there a way to set priorities to images? I want certain images on my page to load before other do. Is this possible?
Thanks,
Dave
Thanks,
Dave
|
Click to See Complete Forum and Search --> : Loading priorities ToYourEscape 03-11-2004, 04:26 PM Is there a way to set priorities to images? I want certain images on my page to load before other do. Is this possible? Thanks, Dave gil davis 03-11-2004, 06:01 PM Images in HTML are loaded in the order that they are located in the web page file. I suppose that you could use a placeholder in all of the HTML image tags and then use a preload script that you could order however you want. Then onload you would change all the HTML images SRC to the right picture in any order you wanted. The apparent load time would be longer because of the js to change all the image tags. But then people with js disabled would see a whole lot of nothing. PeOfEo 03-11-2004, 06:03 PM JS can be used to preload images in a different order in the head section. If the people do not have js enabled they will load it in the html order. ToYourEscape 03-11-2004, 06:07 PM Oh..so just re-ordering the way things are in the html file should do the trick? -Dave webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |