Load certain images first

SpaceshipSpaceship
Spacemail by SpaceshipSpacemail by Spaceship
Namecheap AuctionsNamecheap Auctions
Watch

spirelli

New Member
Impact
0
How can I make sure that certain images are loaded before the rest?
I'd like to know this in general.


Then I have also an example is here http://www.plessner.co.uk/homepage.html

An external document is loaded into a layer as a popup that can be closed. I'd like to have the two images in the popup load first so that it's complete. At the moment they seem to load last. Is this possible?

The layer with the document shows up in IE straight away. That's the way it should be. In Mozilla however the layer only shows up after the rest od the page has loaded. Bad. Can I change this with some script?

Thanks a lot for your help!

By the way, the original code comes from http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow.htm

Markus
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
0
Close
will this work for me, because the images are on a differen page from the main page.

Or do I put the code just on the main page and that's it?

I tried it and there is no difference at all in the order the images load :(
 
Last edited:
0
Close
What's the problem? You need to enter the URLs of the graphics to preload in the code and then it should work.
 
0
Close
DomainEasy: white label portfolios are live. Enable yours.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Filters for activity feeds
Your news feed, Latest activity, and the activity tab on profiles now have filter buttons: All, Posts, Quick replies, and Other. Your...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back