IE7's Inanimate GIF
Posted by Ryan Baxter Wed, 11 Jun 2008 12:06:00 GMT
A little googling turned up a helpful comment on Rick Strahl’s blog.
I’ve run into a problem with animated gifs inside of a hidden area of a Web page that is hidden with style.display=’none’. When the area is made visible again, in Internet Explorer this causes the image to not be displayed an animated GIF whatever I try. [sic]
Neither solution is ideal, but setting the element’s innerHTML felt a little bit cleaner to me.
*IE7 may have animations disabled. Go to Tools > Internet Options > Advanced > Multimedia. Checking “Play animations in webpages” may affect how IE7 renders your animated GIFs.
Use the following link to trackback from your own site: