|
|
Q718 How can one tell when an animation has finished running?
irt.org | Knowledge Base | JavaScript | Image | Q718 [ previous next ] Q718 How can one tell when an animation has finished running?If its an animated gif, then it might be possible. IIRC one browser triggers an onLoad event for the image for every image "frame" loaded. You could trap the onLoad event using the onLoad event handler, count them and work out when the image has finished animating:
Feedback on 'Q718 How can one tell when an animation has finished running?' |
-- div -->
|