Skip to main content
Participant
November 5, 2014
Question

Captivate 8: How to add a button onto a question slide to invoke some java script?

  • November 5, 2014
  • 1 reply
  • 132 views

I have some question slides where the user has to guess an item on a picture. Because the picture is very small, I want to add a zoom button which calls a function in my LMS to popup the picture in a bigger window. I could not find a way to add a button where I can call java script, so I tried to solve this by using a smart shape with option "use as button" set and adding the java script action. This works fine for the popup but now the submit button on the slide no longer works. Clicking the submit button just disables the answers and stays on the current slide even if I did not click onto the shape button previously. How can I achieve my goal to display a bigger picture of an image on my slide on the users request?

I also tried the "ImageView" widget, but this is not a practicable solution.

Thanks,

Martin

    This topic has been closed for replies.

    1 reply

    coolitAuthor
    Participant
    November 5, 2014

    I think I found the solution: In the "Timing" tab for the shape there is an option "Pause After" which was set to 1,5 seconds. I cleared this options and now the submit button is working again.

    Martin