IE GIF animation problem
This is can be annoying in cases where you want a loading animation to appear when uploading POST data or just want some animation while a heavy page is preparing.
The trick is to load the animation AFTER IE has unloaded everything. One way to do this is by using javascript and the setTimeout() function.
Solution:
function viewAnimation() {
// DHTML function for viewing animation.
}
function viewAnimationLoad() {
/*
Start this function instead of the other to make IE
start the viewAnimation() function 500 milliseconds after
it has started loading a new document. This will make
the animation work.
*/
setTimeout('viewAnimation()',500);
}
TIP: If you experience only a blank image until you resize the window, then it can be fixed by explicitly setting a width in the image layer CSS class.
Leave a Reply
Welcome to Thronic.com
Search this Site
Miscellaneous Links
Recent Articles
- Google-like search suggestion tool
- Linux Bash Color
- Resize a div layer with javascript
- Moving a div layer with javascript
- Web Galaxy » A sci-fi browser game
- Windows 7 on Asus Eee 900 PC
- IE and PHP sessions
- Wordpress 2.8.6 Spell Check Languages
- Reset MySQL Root Password
- Linux hosts file
- IdleGuard
- Column count in SQL
- String encryption in PHP
- Alphanumeric Captcha values in PHP
- Your own numeric Captcha in PHP
