Rharpe: If you want to be sure that all buttons are clickable at all times, you'll have to select images that are no higher than 115px.
SSH: Maybe it would be better if the delay after the last frame (so before starting the animation again) is set to something like 3000 (3 seconds) or so.
What you are suggesting is possible, but it requires loading 2 images instead of one (one static image and one animation). Not that these static gifs are of conciderable filesize. But adjusting the frame delay seems like a more elegant solution. Javascript is often best used sparingly and without direct control over visual content.
SSH: Maybe it would be better if the delay after the last frame (so before starting the animation again) is set to something like 3000 (3 seconds) or so.
What you are suggesting is possible, but it requires loading 2 images instead of one (one static image and one animation). Not that these static gifs are of conciderable filesize. But adjusting the frame delay seems like a more elegant solution. Javascript is often best used sparingly and without direct control over visual content.