JavaScript SDK Documentation ? Dynamic Text task?
I'm doing a project in which I need to dynamically modify the content of a Text Caption and its position on the screen based on data that I'm dynamically reading from a server. I'm fairly new to Captivate but have experience as a full-stack web-developer. I've been able to piece together enough information about the Common JS interface to leverage my JavaScript skills inside of captivate, but I'm finding it very difficult to find an authoritative SDK documentation on the methods, properties, etc. available from JavaScript for Captivate. On the web-side, it is relatively easy to look up DOM related resources, but not so on Captivate. Is there a such a list/documentation some place?
In terms of the task that I'm tackling now, I need to read some data from a php site on a different domain than the one that will be hosting my captivate output. I got this done via JSONP/CORS to bypass the problems associated with cross domain calls.
The incoming data will contain text that I need to display in a Caption box and also the position for some images that I need to display on the same page. Thus, I need to:
1. Set the contents of a Caption using Javascript
2. Read the width of the Caption box using Javascript
3. Set the X, Y position of graphics using Javascript
4. Dynamically load images using Javascript.
I would appreciate any pointers or advise from those of you who have spent some time with Captivate. I'm impressed by its capabilities.
Bob
