PreLoading images

T

Trevor L.

Thanks Thomas,

I am learning JS on the run and will keep trying.

It is interesting that my background image comes back immediately when
switching between pages on the Internet, but when I am running locally, it
takes a second or two (although not quite as long as when I first open the
page).

I think at this stage, I have exhausted all possibilities.

For others who may be able to advise, my PreLoad function now reads as below
and executes without error. Whether it does the right thing or not I do not
know
function PreLoad()
{
var images = new Array();
for (i=0;i<=11;i++)
{images = new Image();}

images[0].src =
"http://tandcl.homemail.com.au/images/04-08-24-1-bird-bath.jpg";
etc. for 1 to 11
}
--
Cheers,
Trevor L.


I choose Polesoft Lockspam to fight spam, and you?
http://www.polesoft.com/refer.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top