Forum Discussion
Bob_Mongiovi
6 months agoCommunity Member
What issues would I run into if I were to just copy the content of the external JavaScript file, and just add it to an Execute JavaScript trigger that starts on timeline start? This way no need to call it in or import. And no need to update the story.html file every time you publish.
- MathNotermans-96 months agoCommunity Member
Scope is the big difference. Placing it on a trigger localizes the function to just that trigger. Nowhere else it will be available. Using it as described makes your function(s) globally available everywhere in Storyline.