Simple JavaScript
by Ben Ocean <lists(at)TheWebsons.com>
|
Date: |
Mon, 23 Oct 2000 09:52:04 -0700 |
To: |
hwg-languages(at)hwg.org |
|
todo: View
Thread,
Original
|
|
Hi;
I'm trying to pre-load images *in advance* of other images I am also
pre-loading. I though if I simply put this code in front of my other JS code:
var original = new Image();
var inGroundPools = new Image();
original.src = "./photos/original.gif";
inGroundPools = "../images/in-ground_pools_main.jpg";
that these two images would load first, but apparently not. Now, these
images are *not* called by any function. Your advice is appreciated.
TIA,
BenO
HWG: hwg-languages mailing list archives,
maintained by Webmasters @ IWA