« iPhone PocketGuitar | Main| ASCII Webcam »

Showing an animated GIF after submit has been hit in IE and apple Safari

Category

Bruce Elgort had identified an issue with my Upload demonstration, where the animated gif did not work on apple's Safari browser.  Well after numerous attempts I could not get the animated gif to play, and I couldn't find anyone else that had solved the problem.

Well after some playing I managed to come up with a solution, instead of using an IMG tag and replacing the image with itself, I replaced the code with a IFRAME that only contains the animated gif file.  Then with the timer started before the code submits, I repopulate the contents of the Yahoo container with the IFRAME.  This seemed to do it, and works in IE, Firefox and apple's Safari.

Here is the updated database
UploadDemo.zip

and updated live demonstration
http://www.epilio.com/uploaddemo.nsf/uploaddemo?openform

Thanks to Bruce for pointing out the error.

Post A Comment

:-D:-o:-p:-x:-(:-):-\:angry::cool::cry::emb::grin::huh::laugh::rolleyes:;-)