DreamWeaver
12-10-2000, 12:45 AM
does anyone know how to make certain images on a page download before the others do like if i have 20 images on my page but i need the 2 at the very top to download first? I could use a preload script but they are only 1k in size and the other images end up loading before the ones on top for some reasion.............where can i find a active HTML board all the ones i find only get one post a week!
Chicken
12-10-2000, 02:12 AM
For coding issues I would recommend http://www.sitepointforums.com (just be sure to send a few people looking for webhosts here) :)
etLux
12-10-2000, 03:08 PM
Getting images to pre-load in a specific order is often an iffy proposition. In theory, first-come is first-served; in practice, however, various network issues complicate matters.
A perhaps more reliable and aesthetically pleasing approach is to put the page's major content in a main layer, with an ancillary masking overlayer that covers the whole page territory.
When the main page content is fully loaded, then an onload= in the body tag can be used to call a JavaScript function to remove the masking overlayer, allowing the page content to be seen.
This works well on pages with reasonable bandwidth loading... with the overall effect being that the page appears to simply leap into view, fully loaded.
Jaiem
12-10-2000, 10:28 PM
Also depends how your structure your page. If you're using tables (who doesn't?) then it depends how you organize the tables, nest them etc. You'll have to experiment. Generally though the deeper with in nested tables you put a graphic th slow it will load.
DreamWeaver
12-11-2000, 02:44 PM
I got it to work now....and yes the images where in tables it's for round corners on a table and it was the last thing that got download and it would leave a big hole on the table until the image was downloaded and that looked bad so i made the background the same color as the table so now there is no hole and once the corner image downloads it's round works better than what i had anyway :)