Copy link to clipboard
Copied
I am trying to use Greensock javascript to move my text caption box. form some reason if I just use the instance name it moves the back color but not the text. If I append the "c" to the instance name I get nothing at all. Does anyone even know what step I mat have missed?
var obj = document.getElementById('s1_txt1c');
TweenMax.fromTo(obj, 1, {alpha:0, top:"-200px"}, {delay:1, alpha:1, top:"20px", ease:Elastic.easeOut});
Copy link to clipboard
Copied
I was just about to post a thread on whether greensock can be used with Captivate. It looks like it can. Is the Element ID simply the name you give your textbox/smart shape etc in Captivate in the Properties Panel?
Thanks
Copy link to clipboard
Copied
Also, I don't know if this helps with your question...
How do I grab different elements from my project's "DOM" using javascript? (Captivate 7/8)