Dynadot โ€” .com Transfer

Image load order?

SpaceshipSpaceship
Watch

John84

Established Member
Impact
2
Hey all,

Just wondering if there is a way to control the image load order. I want the background image to load before all the little thumbnail pictures (about 50). Is there a way to do this? I thought maybe something in javascript to do this but if there is a way in php, even better.

Thanks
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
Try this. Place the background image ON the very top of the page, not as a background, but as an actual image on the page. define it's size as 1px by 1 px, so it will not be seen. This being the first image on the page, even though it's a single pixel, should force it to load first. Since it's the exact same file as what you're using on the background, the background should pop into place before the other images. Hope that made sense...
 
0
•••
Have you had a chance to try this?
 
0
•••
Sorry, no not yet. Will give it a shot soon as it sounds like it should work. Just having issues with my host at the moment. Damn 1and1.
 
0
•••
Spaceship
Domain Recover
DomainEasy โ€” Zero Commission
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back