Skip to main content
Known Participant
Jul 1, 2019 12:16 PM UTC
Answered

Javascript

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.
    TLCMediaDesign
    TLCMediaDesignCorrect answer
    Inspiring
    Jul 1, 2019 12:34 PM UTC

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

    object.addEventListener("mouseover", myScript);

    3 replies

    Participant
    Apr 6, 2020 5:22 AM UTC
    TLCMediaDesign
    TLCMediaDesignCorrect answer
    Inspiring
    Jul 1, 2019 12:34 PM UTC

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

    object.addEventListener("mouseover", myScript);

    Translate
    Known Participant
    Jul 1, 2019 1:37 PM UTC

    Thanks so much!

    Translate