Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #381933 Score: 0
    Profile photo of Adam Cain
    Adam Cain
    Member
    beginner
    intermediate
    profile
    picture perfect
    wise owl
    friend finder
    Group Member
    curious george
    contributor
    20 pts
    @cainam

    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.

    #381937 Score: 1
    Profile photo of Stan Miller
    Stan Miller
    Member
    beginner
    intermediate
    LUC16 Attendee
    wise owl
    contributor
    curious george
    friend finder
    LUC17 Attendee
    35 pts
    @smiller7502

    How ’bout:

    1. Set the animated image to initially hidden.
    2. Add a still image of the frame you want displayed until the animation starts.
    3. On click, hide the still image and show the animation.

     

    This post has received 1 vote up.
    #395925 Score: 0
    Profile photo of Adam Cain
    Adam Cain
    Member
    beginner
    intermediate
    profile
    picture perfect
    wise owl
    friend finder
    Group Member
    curious george
    contributor
    20 pts
    @cainam

    Thanks Stan!  cleaner than the 2-page solution.  ; )

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.