start/stop animaged .gif
January 9, 2018 12:00 AM
Scenario: I have an animated .gif that I don't want to start playing until the user clicks a button on the page. Is there a way to do this with actions inside of Lectora, or using JavaScript?
(my current setup to fake it, is I have 2 pages that look the same. A still image is on the first page with action to go to next page when clicked. On that 2nd page I have the animated .gif which start immediately). Works, but looking for something cleaner.
Discussion (2)
How 'bout:
- Set the animated image to initially hidden.
- Add a still image of the frame you want displayed until the animation starts.
- On click, hide the still image and show the animation.
undefined
Discussions have been disabled for this post