Skip to main content
Known Participant
August 10, 2016
Question

Are there JS representations of Captivate

  • August 10, 2016
  • 2 replies
  • 727 views

Are there Captivate Javascript representations of smart shapes that I could use to manipuate the smart shapes?  Something similar would be how Jquery wraps DOM objects with functionality to make DOM objects easier to manipulate...       

One thing I would like to do is easily change the fill color of the smart shape using Javascript.   $('#SmartShape1').css('background','blue') doesn't work because it completely paints over the text in the smart shape....

Thanks for any help!     

This topic has been closed for replies.

2 replies

Known Participant
September 15, 2016

Hello Mohana,

Have you made any progress with this question?

TLCMediaDesign
Inspiring
September 15, 2016

You can manipulate the objects with JavaScript, but be aware that they are canvas elements, not as simple as with a standard div.

Known Participant
September 15, 2016

Thanks!  I am looking forward to your "Using Javascript with Captivate" book. : )

mohanadas
Adobe Employee
Adobe Employee
September 1, 2016

Hi Ryan,

 

May I know what is your use case and which version of Captivate you are using?


Thanks,
Mohana

Participant
September 5, 2016

Hello Mohana,

Thanks for the response.

I am using Captivate 9.

I would like to change the CSS properties of a Captivate button to match the CSS properties of my customer's buttons they have on their website.  I thought I may be able to do this if there were some sort of JS representation of Captivate buttons / smart shapes I could manipulate...

Thanks for any help!