Close Captivate web object window
I have a project in which I open a web object from a slide in Captivate in a new window/tab.
When the student has finished with the web object they may close the window, or may leave it open and click a button on the slide to go to the next or previous slides.
If they click a button to change slides I want the web object window to close.
Problems...
If I drop the zipped web object onto a Captivate slide as normal, I don't know what the JavaScript reference is to close the window, Captivate doesn't seem to make it available.
If I embed some javascript to open a window ( var win = open.window(.....) ), I can use the reference to close it again ( win.close() ). Which is great. However in this case I have to include the web object files in a folder after Captivate has published the content as SCORM content. This means that the web object content is not in the manifest.
How do I achieve my goal.
Someone else must have had a problem similar to this.