Forum Discussion
JoshuaGarlick-4
3 years agoCommunity Member
JavaScript Issue - Local vs. Global Scope in user.js
Hello,
While Articulate is not able to provide Javascript support, I am hoping someone from these forums can help me.
At the end of my activity, I have a WebObject that embeds a local .html cont...
MathNotermans-9
Community Member
I use a Webobject to create a globals in the HTML. Inthere mostly functions...but these i can call from anywhere in Storyline. If you share a sample...im quite sure we will be able to set it up so your issue will be solved.
JoshuaGarlick-4
3 years agoCommunity Member
Math,
Thank you so much for offering to help fix this issue!
I am very interested in hearing about how you use functions with WebObjects.
I've completely paired down the attached activity to just two slides. The first slide executes the JavaScript and the second slide contains the WebObject credit button.
I've also attached the index.html that the WebObject uses.
Please let me know if you need anything else.
Thanks again for your help!
Best,
-Josh