WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 Preloading Images, Script Daddy!, September 17, 2003
     Re:Preloading Images, Erik Arvidsson, September 17, 2003

Subject: Re:Preloading Images From: Erik Arvidsson Date: September 17, 2003
Create an Image object and that will load the image for you.

var img = new Image;
img.src = "..."

You can use onload, onerror and onabort to get better control of the loading.

erik



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