C
cjl
OK:
I am really scratching my head over a preload / image swapping problem,
so I started conducting experiments:
http://www.saintrays.net/experiment1.html
http://www.saintrays.net/experiment2.html
http://www.saintrays.net/experiment3.html
View the source of each page to see the relevant javascript. All three
experiments work smoothly in both Firefox and IE for me.
The website I am developing uses the method in experiment3, that is at
run time a javascript file is dynamically added to the document which
contains some relevant variables, images are preloaded, and then
swapped. It can be seen at:
http://www.casespace.net/
It is designed to run at 1024 x 768 only, and the browser must be
'fullscreen'. This is accomplished with 'F11' in IE (plus enabling the
autohide feature after right clicking on the remaining title bar) and
with the 'Autohide' extension for Firefox. The instructions need work,
but are fairly straightforward.
The problem is that for casespace.net image swapping is not smooth in
IE, and it seems to recheck with the website each time I swap an image,
even though they are preloaded, greatly slowing down the ability to
quickly scroll through images. It works flawlessly in Firefox.
I can't find the difference between experiment3 (which works in IE
without the constant checking) and the method I use on casespace.
Any help would be appreciated. I am going nuts. Arrrgh.
-CJL
I am really scratching my head over a preload / image swapping problem,
so I started conducting experiments:
http://www.saintrays.net/experiment1.html
http://www.saintrays.net/experiment2.html
http://www.saintrays.net/experiment3.html
View the source of each page to see the relevant javascript. All three
experiments work smoothly in both Firefox and IE for me.
The website I am developing uses the method in experiment3, that is at
run time a javascript file is dynamically added to the document which
contains some relevant variables, images are preloaded, and then
swapped. It can be seen at:
http://www.casespace.net/
It is designed to run at 1024 x 768 only, and the browser must be
'fullscreen'. This is accomplished with 'F11' in IE (plus enabling the
autohide feature after right clicking on the remaining title bar) and
with the 'Autohide' extension for Firefox. The instructions need work,
but are fairly straightforward.
The problem is that for casespace.net image swapping is not smooth in
IE, and it seems to recheck with the website each time I swap an image,
even though they are preloaded, greatly slowing down the ability to
quickly scroll through images. It works flawlessly in Firefox.
I can't find the difference between experiment3 (which works in IE
without the constant checking) and the method I use on casespace.
Any help would be appreciated. I am going nuts. Arrrgh.
-CJL