So it turns out that if you set up a loading spinner like this:
1
|
|
And then show the div, the animated gif will not animate in… which browser? IE6, of course.
Solutions:
Refresh the innerHTML content (This is stupid but it works..):
1 2 |
|
OR
Set the animated gif as the div’s css background image instead of using the child IMG element. Perhaps:
1 2 3 4 |
|
The second solution is a little classier and is also better from a semantic POV, IMHO.