WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 Preload images with JavaScript, Nicolaas, May 31, 2005
     Re:Preload images with JavaScript, Erik Arvidsson, June 5, 2005

Subject: Preload images with JavaScript From: Nicolaas Date: May 31, 2005

Hi,

I made a simple preloader in JavaScript:

img1= new Image()
img1.src = "Source";

I now want to know how I can check if all images are loaded, so that I can show my page. So how do you know if all images are in the cache? (Both for Mozilla and IE)

Thanks




Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX