Hi
I have the following script to preload images in the <head> section which works great. When I pick on an image, a new window opens up with a Loading... then the image is displayed full size
<SCRIPT LANGUAGE="JavaScript">
var aryImages = new Array(3);
aryImages[0] = "../covers/ImageA.jpg";
aryImages[1] = "../covers/ImageB.jpg";
aryImages[2] = "../labels/ImageC.jpg";
for (i=0; i < aryImages.length; i++) {
var preload = new Image();
preload.src = aryImages[i];
}
</script>
Here's the but... But I need the ImageA.jpg, ImageB etc to be an ASP variable <% = Var %> or something.
Can this be done??
TIA
Ian