Need to know if we can call a JavaScript function on each page of a Storyline lesson in order to pass the page number to our internal course reviewing program. Can Storyline be set to make the following JavaScript call when each page loads:
setPageID(<pageNum>
Where <pageNum> is the number or ID for the current page.
Studio doesn't have the same options for triggers or similar as Storyline that would allow you to include Javascript. Users may customize the published output to edit the Javascript, but that's not something that we can offer support for.
5 Replies
Hi Mark,
I'm not a Javascript expert, so I thought I'd first point you to some of the Javascript best practices and sample script.
Is JavaScript functionality available in Studio 09?
Hi Emma,
Studio doesn't have the same options for triggers or similar as Storyline that would allow you to include Javascript. Users may customize the published output to edit the Javascript, but that's not something that we can offer support for.
Thanks.
You can put triggers on the master slide. For example a 'timeline starts' trigger will fire for each slide if it's placed on the master slide.
This discussion is closed. You can start a new discussion or contact Articulate Support.