Tech Off Thread

6 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

IE animation on a dead page

Back to Forum: Tech Off
  • User profile image

    I have a search page that posts to a results page.

    Sometimes the results page takes a while to load.

    So I requisitioned an animated GIF, whipped up some text animation javascript, and put an onsubmit event for the form that would show a nifty little "your search is processing" animation with text and graphics.

    It works great.

    Except in IE.

    In IE, the animated GIF refuses to animate, while the text animates fine.

    I can't decide whether this is really a "bug" though.  Is it reasonable to expect an image to continue animating while another page is loading?

  • User profile image

    In IE you need to set the src attr on an element after the form has been submitted, as in ..

    setTimeout( 'someimage.src="urltoimage"', 200);

  • User profile image

    Interesting.  I'll try that.

  • User profile image

    Works great!  Thanks for the tip.

  • User profile image

     Interesting. Thanks for the tip.

  • User profile image

    Good timing, I need that for a project too Smiley

    Does IE7 stop animations when a form is submitted as well? Wonder if it's a bug or a feature...

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.