NS have problems to show an animated gif as mouseover when image was preloaded

I have an animated gif that should be used as mouse over image. This works fine in IE and NS, but if I use an image preload script (like Dreamweaver or GoLive) NS only show the animation the very first time... A second attempt to activate the mouse over results in NS showing only the last frame of that animation. However a reload of the page makes it possible to see the mouse over animation again - but only once.

If I preload that animation with a "fake preload" by inserting a <img src="myAnimation.gif" width="1" height="1" border="1"> on a previous page or on top of the page that uses the animation it works just fine.

Is there really a difference with NS if the an image was loaded or preloaded?

I'm listening :-)

Kind regards
Joergen
jastroemAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Michel PlungjanConnect With a Mentor IT ExpertCommented:
It makes the url unique as in

animation.gif?123123123123

the first time and
animation.gif?980273498320

the next

Michel
0
 
Michel PlungjanIT ExpertCommented:
Yes

Never preload animated gifs for netscape.
also do this:

document.images['myImage'].src = 'animation.gif?' +Math.random();
to trigger it again

Michel
0
 
jastroemAuthor Commented:
Michel

Thanks!

Can you tell me what the ?-mark does here?

/ Joergen
0
 
jastroemAuthor Commented:
Great thanx a lot!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.