OnShowHide html extension object

I cannot get my html extension object to hide under a final_score variable. It works fine for regular objects like plain audio files but ignores html extension objects (which happens to be an audio file but with a custom player).


Does anyone know how to get this to hide using actions or do I need to use javascript? If that's the case does anyone know what .js to use?

Discussion (2)

What is in your HTML extension object? You will have to it an HTML name in the HTML code you write. Then you can write some JavaScript to change its visibility state. Just Google "change visibility JavaScript"


Can you instead cover it with say a white rectangle?

Hi. Thanks! This is the html extension object:





data-setup="{}">




It's an either, or type of variable, and in this case, passed or failed answer for a test. I think I'm in a little over my head trying to write javascript for a passing or failing score. That's one of the reasons I'm using Lectora since it has that function built into the "Conditions" dialog attached to an action. It's too bad that html extension objects ignore actions even though they appear as a choice under "Target."

Discussions have been disabled for this post