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...
larryvanwave-ff
3 years agoCommunity Member
I am trying to get an element to have a listener, and I used most of your code, but missing something. Can you diagnosis this.
var TopButton = document.querySelectorAll("[data-acc-text='ImmEnroll']");
var player = GetPlayer();
TopButton.addEventListener("mouseup", MouseUpHandler);
function MouseUpHandler(e)
{
var e = window.event || e;
alert("Mouse");
}