Forum Discussion
MathNotermans-9
5 years agoCommunity Member
Javascript to trigger multiple elements in Storyline
A user needed a sample of a Javascript to trigger an audio on all elements on a slide. Offcourse that is possible so i made a sample.
https://360.articulate.com/review/content/a477f9f5-6348-4570-8...
PeteBrown-651d6
3 years agoCommunity Member
Hi Math
Your ways are always creative! Thanks for sharing.
On a slight tangent, once you've found the DOM elements you want to work with in javascript, do you know a way to CLICK them from inside the javascript? I.e., if you want to simulate a user clicking them.
Using a click() event or dispatchEvent doesn't seem to work.
In particular, I've tried to programatically 'click' a Storyline marker object, but can't make it happen.
I'd really appreciate any insight, experience or thoughts you've had with something like this.
PeteB