Skip to main content
Known Participant
January 19, 2016
Answered

Is it possible to set the alpha of a button in Captivate 9 using JavaScript?

  • January 19, 2016
  • 1 reply
  • 304 views

I was wondering if anyone knows if it is possible to set the alpha of a button in Captivate 9. I have been able to enable and disable buttons using JavaScript but have not been able to change a button's alpha.

John

    This topic has been closed for replies.
    Correct answer TLCMediaDesign

    var thisElement = document.getElementById("your_btn" + "c")

    thisElement.style.opacity = .5;

    1 reply

    TLCMediaDesign
    TLCMediaDesignCorrect answer
    Inspiring
    January 19, 2016

    var thisElement = document.getElementById("your_btn" + "c")

    thisElement.style.opacity = .5;

    romainjAuthor
    Known Participant
    January 19, 2016

    Awesome. That's great. I'll give it a try :-)