We've created a story and the last slide contains a button which, when clicked, we need it to update our HTML database that the story has been completed by the user. Can anyone tell me how I add a window.parent.completed javascript bit of code to a button trigger on a slide?
Add a trigger "Execute JavaScript" when button is clicked. Then the JS is simply : window.completed = true. But I'd namespace the variable like so: window.mydomain.completed = true.
I'm searching for a similar solution for reporting markers that have/not been clicked, could anyone help with this? keep in mind my knowledge of JS is limited to guided copy+pasting
This thread is a bit older so I'm not certain that Norm is subscribed, you may want to message him directly using the "contact me" button on his profile.
3 Replies
Add a trigger "Execute JavaScript" when button is clicked. Then the JS is simply : window.completed = true. But I'd namespace the variable like so: window.mydomain.completed = true.
Hello,
I'm searching for a similar solution for reporting markers that have/not been clicked, could anyone help with this?
keep in mind my knowledge of JS is limited to guided copy+pasting
Thanks in advance,
Erez
Hi Erez,
This thread is a bit older so I'm not certain that Norm is subscribed, you may want to message him directly using the "contact me" button on his profile.
This discussion is closed. You can start a new discussion or contact Articulate Support.