Skip to main content
Known Participant
July 1, 2019
Answered

Javascript

  • July 1, 2019
  • 3 replies
  • 684 views

Is there any way to trigger javascript on a rollover, rather than a mouse click when publishing for html5?

    This topic is closed to new replies. Start a new post to keep the conversation going.
    Correct answer TLCMediaDesign

    On slide enter you would need to add an event listener for the object:

    object.addEventListener("mouseover", myScript);

    3 replies

    Participant
    April 6, 2020
    TLCMediaDesign
    TLCMediaDesignCorrect answer
    Inspiring
    July 1, 2019

    On slide enter you would need to add an event listener for the object:

    object.addEventListener("mouseover", myScript);

    Known Participant
    July 1, 2019

    Thanks so much!