0
Open Window with Javascript

/t5/captivate-discussions/open-window-with-javascript/td-p/297340
Nov 08, 2006
Nov 08, 2006
Copy link to clipboard
Copied
Good Morning All,
I am trying to open use a button in captivate to launch another .swf movie and am having no luck. I have reviewed all of the posts here in the forums, but I still cannot seem to get it to work. So, I apologize for posting this again!
Here's and overview:
I am creating a several Captivate projects that will be hosted online. I am publishing to Flash. One project provides an overview and serves as a "launching" point for the other projects.
So, I want to be able to open a new, "chromeless" browser window set to the specific size for the project when I click a button that will open another project which I have published to Flash.
Any help would be greatly appreciated!
Aaron
I am trying to open use a button in captivate to launch another .swf movie and am having no luck. I have reviewed all of the posts here in the forums, but I still cannot seem to get it to work. So, I apologize for posting this again!

Here's and overview:
I am creating a several Captivate projects that will be hosted online. I am publishing to Flash. One project provides an overview and serves as a "launching" point for the other projects.
So, I want to be able to open a new, "chromeless" browser window set to the specific size for the project when I click a button that will open another project which I have published to Flash.
Any help would be greatly appreciated!
Aaron
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Explorer
,
/t5/captivate-discussions/open-window-with-javascript/m-p/297341#M14008
Nov 08, 2006
Nov 08, 2006
Copy link to clipboard
Copied
This would be achieved by adding abutton, setting the success
response to JavaScript and ebtering the appropriate JavaScript
(window.open), which is documented in any java book.
HOWEVER:
IE 6.5 and later running XP SP2 and later DO NOT support chromelsess windows anymore. At a minimum they will show the ttle and status bar.
HOWEVER:
IE 6.5 and later running XP SP2 and later DO NOT support chromelsess windows anymore. At a minimum they will show the ttle and status bar.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

Guest
AUTHOR
/t5/captivate-discussions/open-window-with-javascript/m-p/297342#M14009
Nov 08, 2006
Nov 08, 2006
Copy link to clipboard
Copied
Just to make sure I'm on the right track. I would the the
following on the Button tab:
On success to Execute Javascript.
Enter the window.open function in the JavaScript field.
Select New from the drop-down next to the JavaScript field to open in a new window.
On success to Execute Javascript.
Enter the window.open function in the JavaScript field.
Select New from the drop-down next to the JavaScript field to open in a new window.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Explorer
,
/t5/captivate-discussions/open-window-with-javascript/m-p/297343#M14010
Nov 08, 2006
Nov 08, 2006
Copy link to clipboard
Copied
Almost. It actually does not matter if you select current or
new, because the JavaScript will force to open a new window. Here
is a link to the winow.open documentation. if you are not a
programmer, it might take a while to figure this out.
http://www.javascripter.net/faq/openinga.htm
http://www.javascripter.net/faq/openinga.htm
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

Guest
AUTHOR
/t5/captivate-discussions/open-window-with-javascript/m-p/297344#M14011
Nov 08, 2006
Nov 08, 2006
Copy link to clipboard
Copied
Thanks for your help Frank. I can get the window to pop-up
can open the other file, but there is just one snag. When I click
on the link, the original window goes blank and I would like it to
keep the stay at the point in the presentation where the user left.
Is there any way to keep the original project from going blank? (The Flash file disappears and [OBJECT] appears on the blank browser window.)
Is there any way to keep the original project from going blank? (The Flash file disappears and [OBJECT] appears on the blank browser window.)
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

Guest
AUTHOR
/t5/captivate-discussions/open-window-with-javascript/m-p/297345#M14012
Nov 09, 2006
Nov 09, 2006
Copy link to clipboard
Copied
Thanks for your help Frank. I ended up writing a function and
placing that in the .htm file to handle it. This let me do exactly
what I needed.
Aaron
Aaron
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Participant
,
LATEST
/t5/captivate-discussions/open-window-with-javascript/m-p/297346#M14013
Feb 29, 2016
Feb 29, 2016
Copy link to clipboard
Copied
Getting exact same issue with the [OBJECT] text in a blank window... help !
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

