View Single Post
Old 07-25-2009, 11:59 AM  
Sands
Confirmed User
 
Sands's Avatar
 
Join Date: Feb 2007
Location: 418194907
Posts: 3,134
Quote:
Originally Posted by bbwebmaster View Post
Is there any possibility to make make 1 or 2 images loaded before the rest of images on a webpage without using Javascript preload?
Thx in advance for any suggestions.
You might be able to do this with CSS by placing the <img> code for these images high up in the document, but with a visibility: hidden; property. That way they'll load first, but they won't appear when they're first loaded. The images will be loaded/cached by the time it reaches the <img> code of these images that are to be visible.

Last edited by Sands; 07-25-2009 at 12:01 PM..
Sands is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote