Link to home
Start Free TrialLog in
Avatar of Russ Suter
Russ Suter

asked on

Display animated gif while loading a page

I have a simple piece of javascript that loads an image onto a page when the user clicks a button. The image is an animated gif and while it appears, it doesn't animate. I suspect the browser just doesn't handle the animation while it's attempting to load a page.

Exactly what I'm hoping to accomplish is demonstrated on the Asus website. Here's a link:

http://support.asus.com/troubleshooting/troubleshooting.aspx?SLanguage=en-us

If you go to that page and click on any of the troubleshooting items, a nice little animated thingy pops up and stays there until the new page has finished loading. I'd like to know how to accomplish the same thing on my website. I've sort of got there but it's not quite right. Any help would be appreciated.
ASKER CERTIFIED SOLUTION
Avatar of hielo
hielo
Flag of Wallis and Futuna image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Russ Suter
Russ Suter

ASKER

Not exactly what I'm looking for but it did lead me down the right path. Thanks.