Click to See Complete Forum and Search --> : Stop GIF animation


demonike
09-30-2003, 04:17 AM
Hello!

Is there a way to stop all gif animations to the first frame via JavaScript?
I have a banner administration page, with lots of banners, which are there for preview purposes only. All those animations have an impact on browser performance.

I bet it's a simple one, if at all...

Fang
09-30-2003, 09:58 AM
Not with JavaScript, but you can set the number of times the animation runs in a graphics animation program.

demonike
09-30-2003, 01:03 PM
Yeah, that I know. I could even make one frame gif-s if I wanted, but I don't. The idea is that, the same file is previewed on that page that runs on the actual site.

If it can't be done in Javascript then perhaps PHP? Anyway, it's not so very important, just convenience.

Thank you.