Hi all,
I am using this javascript to preload a series of low resolutio
images, that are used to in conjunction with a slider. It work
perfectly. (jvLoResPathArr is an array of urls to the images)
if(document.ima ges) {
imagesCache = new Array()
for (i=0;i<jvLoResP athArr.length;i ++) {
imagesCache[i] = new Image
imagesCache[i].src = jvExternalShare Path + jvLoResPathArr[i]
}
}
However!!!!!!
I allow the user to click on the current low resolution image, so the
can see the hi resoltion image in a child window. Now after they d
that, the images are no longer cached???????? It seems they ge
'pushed' out of the cache.
the code to open the new window is:
win = window.open("Hi ResWindow.cfm", "HiResWindo w"," width=" + width
",height=" + height + ",left=0,top=0, toolbar=no
menubar=no,scro llbars=no, resizable=yes, location=no, directories=no
status=no")
Has anybody got any ideas?
Thanks for any help.
When the use
-
johnthoma
I am using this javascript to preload a series of low resolutio
images, that are used to in conjunction with a slider. It work
perfectly. (jvLoResPathArr is an array of urls to the images)
if(document.ima ges) {
imagesCache = new Array()
for (i=0;i<jvLoResP athArr.length;i ++) {
imagesCache[i] = new Image
imagesCache[i].src = jvExternalShare Path + jvLoResPathArr[i]
}
}
However!!!!!!
I allow the user to click on the current low resolution image, so the
can see the hi resoltion image in a child window. Now after they d
that, the images are no longer cached???????? It seems they ge
'pushed' out of the cache.
the code to open the new window is:
win = window.open("Hi ResWindow.cfm", "HiResWindo w"," width=" + width
",height=" + height + ",left=0,top=0, toolbar=no
menubar=no,scro llbars=no, resizable=yes, location=no, directories=no
status=no")
Has anybody got any ideas?
Thanks for any help.
When the use
-
johnthoma
Comment