Forum Moderators: open

Message Too Old, No Replies

Animated gif does not animate in IE

DHTML Question

         

JustJon

4:42 am on Mar 7, 2005 (gmt 0)

10+ Year Member



I have a form where the user clicks select and I use DHTML to hide the form and show an animated gif while the form is processed and the next page loads.

My problem is that when the animated gif appears in IE, it does not animate, it just shows the first frame. Everything works fine in Mozilla, but not IE.

Is there any way to fix this problem? Thanks.

BlobFisk

11:23 am on Mar 7, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Unfortunately JustJon I have not seen a workaround for this. IE will stop all animations, gifs or flash movies IIRC.

IE does not stop matquee animations, so you could exploit this. You may need to do some browser sniffing (or use IE conditionals) to server the marquee IE and other content to other browsers but it will work. You can also put images in a marquee tag and use CSS to manipulate its size.

katana_one

1:12 pm on Mar 7, 2005 (gmt 0)

10+ Year Member



Do animated GIFs display correctly in IE on other sites? Or does IE not animate any animated GIFs at all? It might be that you have animations turned off in IE.

JustJon

4:59 pm on Mar 7, 2005 (gmt 0)

10+ Year Member



Katana, IE can show animated gifs, but whenever you link off to another page, it stops the animations.

Would IE stop javascript? If I used dhtml to have sequential images appear, like five dots going across, then going back to one and repeating, would IE block that as well or would they move as the other page loads?

JustJon

3:16 pm on Mar 8, 2005 (gmt 0)

10+ Year Member



I waws thinking about this problem and I was wondering if it would be possible to use a loop causing the DHTML to loop between the individual frames?

I think I can have a loop do that, but would it blow up the user's browser or stop the page/form from loading/processing?