Question
window.open javascript on button causes parent window to display blank page
In Captivate 3, I've created a Text button that executes the
following Javascript:
window.open('stakeholder_part2.htm','', 'fullscreen=yes, scrollbars=auto');
The Javascript works perfectly, but when it executes, the page in the parent window goes blank except for the word "object" in square brackets. Hitting the back button in my browser navigates back to the Captivate movie.
I've tried every combination of settings I can think of in the button dialog. Currently I have "top" selected in the window dropdown, and "Continue playing project" disabled. The only setting that didn't work at all is "New" ("Current" and "Parent" both generated the results described above).
Could this have something to do with the fact that the javascript launches the new window in fullscreen mode?
window.open('stakeholder_part2.htm','', 'fullscreen=yes, scrollbars=auto');
The Javascript works perfectly, but when it executes, the page in the parent window goes blank except for the word "object" in square brackets. Hitting the back button in my browser navigates back to the Captivate movie.
I've tried every combination of settings I can think of in the button dialog. Currently I have "top" selected in the window dropdown, and "Continue playing project" disabled. The only setting that didn't work at all is "New" ("Current" and "Parent" both generated the results described above).
Could this have something to do with the fact that the javascript launches the new window in fullscreen mode?
quote:
Text
