Skip to main content
Known Participant
October 10, 2013
Answered

Print screen button causing project to advance

  • October 10, 2013
  • 1 reply
  • 1436 views

I have added some JavaScript to a button in my captivate project using On success > Execute JavaScript > Script Window > window.print()

This works fine to print the screen, however, clicking the button also makes the project advance to the next slide.

Any tips on how to acheive the print screen functionality without advancing the slide would be greatly appreciated. We intend to publish using HTML5 output only.

The majority of elearning projects we work on require a print screen button, it would be a very useful feature were it to be added to Captivate without the need to dabble with JavaScript.

Many thanks in advance.

This topic has been closed for replies.
Correct answer Lilybiri

Replace the simple action by a standard advanced action to avoid the play head advancing.

http://blog.lilybiri.com/why-choose-standard-over-simple-action

Lilybiri

1 reply

Lilybiri
LilybiriCorrect answer
Legend
October 10, 2013

Replace the simple action by a standard advanced action to avoid the play head advancing.

http://blog.lilybiri.com/why-choose-standard-over-simple-action

Lilybiri

dt4ptAuthor
Known Participant
October 11, 2013

Hi Lilybiri, that has worked and I now have a fully functional print screen button.

Many thanks!

Lilybiri
Legend
October 11, 2013

Great, happy for you!