Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Open Window with Javascript

Guest
Nov 08, 2006 Nov 08, 2006
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
825
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 08, 2006 Nov 08, 2006
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.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Nov 08, 2006 Nov 08, 2006
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.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 08, 2006 Nov 08, 2006
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
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Nov 08, 2006 Nov 08, 2006
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.)
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Nov 09, 2006 Nov 09, 2006
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
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Feb 29, 2016 Feb 29, 2016
LATEST

Getting exact same issue with the [OBJECT] text in a blank window... help !

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources