Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
110
rated 0 times [  117] [ 7]  / answers: 1 / hits: 131684  / 15 Years ago, fri, march 5, 2010, 12:00:00

Is it possible to use javascript to control which frame of a GIF image is showing and/or stop the animation. I want to be able to load a GIF with several frames and only show one of them.



I know I could do it with lots of separate images, but if I can do what I want with a GIF, it will only be one file to worry about.


More From » css

 Answers
25

You can do it with a single image using CSS sprites.


[#97421] Tuesday, March 2, 2010, 15 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
kalli

Total Points: 589
Total Questions: 105
Total Answers: 97

Location: Rwanda
Member since Thu, Feb 10, 2022
2 Years ago
;