Skip to main content
TheOriginalGC
Community Expert
Community Expert
November 25, 2025
Question

Proper syntax for sending JS commands from HTML5 to Captivate 13

  • November 25, 2025
  • 0 replies
  • 63 views

I have an HTML5 object with JavaScript that I would like to incorporate into Captivate 13. The JavaScript code is meant to tell the slide to show an object when conditions are met. In Captivate Classic, the code to do that was: 

parent.cp.show("objectName");

 I am able to get captivate to hide the object by inserting the code:

cp.hide("objectName");

Which confirms that I have labled the object correctly. But clearly, the syntax that worked for Captivate Classic will not work here. What am I missing?