January 15, 2018
Captivate 2017 – JavaScript to delay next action
Like
(7)
Comments
(4)
7
4
Hello,
I was wondering if it is possible to use JavaScript to delay the next action, similarly the way you would using advanced actions. I don’t see this information listed anywhere in the JavaScript Interface.
Thanks
4 Comments
2018-01-16 12:48:51
How about something like this?
This is an example I did to test for a single slide that changes the state of a box after 5 seconds.
setTimeout(changeBox, 5000)
function changeBox() {
cp.changeState(“box”,”afterTimer”);
}
The number 5000 is in milliseconds and can be adjusted for the delay.
Like
(2)
(3)
Add Comment
You must be logged in to post a comment.