Forum Moderators: open
We've been through every byte of code in the preload script and it appears to be flawless. I'd sure like to see an answer to this one.
I have some remote (3rd events) rollovers that don't occur until you pass your mouse over the buttons. The images for those remote rollovers are not preloading in IE6 and work fine in all other browsers. What's the deal?
P.S. Are you using an ImageReady preload script?
P.S.S. Almost forgot, welcome to the forums!
Thanks for the welcome.
A quick and dirty workaround: In an inconspicuous area near the bottom of your page, insert your rollover image but reduce it's size to a 1 x 1 pixel image. It will appear as just a small dot, barely visible if you know it's there, but your rollover will load each time with no delay.
img1=new Image(width,height)
img1.src="image1.gif"
Still, I get sluggish response onMouseover - even on repeated actions when I KNOW the image is cached.
I keep hoping the IE will fix this, but it seems to be problematic even with the most recent patches - guess they're busy with security fixes.
Interesting that the old HTML trick works better for you, bruce. Makes me wonder what nonsense hides deep in the new code. I'm very reluctant to start hiding freckles in my layout, but as IE6 grows, I may have to.
ergophobe, I'm not experiencing any problems while viewing in FP, only at the browser level.
We encountered an unusally high number of 404 errors relative to our -over images. After investigating for hours, all evidence led back to the external .js file containing the preload script.
We use ImageReady to slice, dice and generate js and css. ImageReady by default will use paths like images/file.gif. It is assuming that all of your image calls will be from the root level which they usually are not.
After participating in the other thread and finding out that you can use this...
images/file.gif
...which tells the browser to look at the images folder in the present directory. Or you can use this...
/images/file.gif
...which tells the browser to look at the images folder at the root level.
We changed all the file references in the external .js file and have had no image preloading problems since then. You also need to make sure that you change the paths on the image code in your html.
This was a great find as it eliminated other issues we were having when using relative URL's that usually look like this...
../../images/file.gif