Example of IE Bug Fix for animated images


In follwoing animated image we have only 3 frames:

Animated Glitter Text

This sample shows bug fix (using bibb) for Internet Explorer. object.onload=null; is important line in the code!

<script type="text/javascript"> function _print(e) { document.body.appendChild(document.createTextNode(e)); document.body.appendChild(document.createElement('BR')); } </script> <div><img src="images/glitter_text.gif" alt="Animated Glitter Text" onload="_print('loaded at ' + (new Date())); this.onload=null;" /></div>

As you can see in this case we have only one loading with 3 frames of animated image.
Return to Webmasters Blog