Skip to main content
Participating Frequently
March 20, 2015
Answered

How can I hide a button with javascript in Captivate 8?

  • March 20, 2015
  • 1 reply
  • 402 views

I need to run some javascript in my project and at the same time I want to hide a button, so I can't use advanced actions.

This topic has been closed for replies.
Correct answer Lilybiri

Why? You can insert the command 'Execute JavaScript' in an advanced action without any problem. And the same event that triggers the JS can trigger that combined action.

1 reply

Lilybiri
LilybiriCorrect answer
Legend
March 20, 2015

Why? You can insert the command 'Execute JavaScript' in an advanced action without any problem. And the same event that triggers the JS can trigger that combined action.

Participating Frequently
March 20, 2015

Wow, fast response. Thanks Lilybiri. Works perfectly. Don't know why I didn't think about that.

Lilybiri
Legend
March 20, 2015

It is very strange, most users who have focus on JS try to do everything with it, whereas lot of simple actions can easily be done with advanced/shared actions. I will only go to JS when it is not possible with advanced/shared actions.

You are lucky, I was just restarting to work on an advanced training for next week when your question showed up.