Skip to main content
Known Participant
March 2, 2011
Question

Having trouble launching a captivate file in its own window

  • March 2, 2011
  • 1 reply
  • 2001 views

Hi,

I am using RoboHelp HTML, version 8.

I am trying to launch a adove Captivate 5 published file in a pop-up window. The wiindow needs to be a specific size and have no scrollbars or broswer junk. It is not working for me. Can anyone help me code it?

Thanks

This topic has been closed for replies.

1 reply

Captiv8r
Legend
March 2, 2011

Hi there

Happy to try and help but "not working" is a wee bit vague. For example, my car is "not working" might mean the following:

I tried turning the key but nothing happened.

I cranked it over but it never started.

I started it up, but it won't move when I put it into gear.

I started it up and it went into gear, but the tire was flat.

Same goes for mixing Captivate and RoboHelp.

Please tell us more.

Does the Captivate play when you inserted it into a topic?

Do you even see anything when it's in a popup?

Does it appear in the popup, but refuse to do its thing?

Just give us a blow by blow of what you are seeing. Or better yet, use Jing and record the process and actually show us what is happening!

Click here to visit the Jing site

Cheers... Rick

Helpful and Handy Links

RoboHelp Wish Form/Bug Reporting Form

Begin learning RoboHelp HTML 7, 8 or 9 within the day!

Adobe Certified RoboHelp HTML Training

SorcerStone Blog

RoboHelp eBooks

Deanne KAuthor
Known Participant
March 2, 2011

Sorry Rick, below  are some details.

  • First, I created a folder called Simulations inside my project and copied a few captivate files into it. (there are about 17 in total i will need to link).
  • Next I copied that SImulations folder into the WebHelp folder.
  • Then I did a series of tests as follows:
    1. Inserted a hyperlink. path was Simulations/Create_New_Cust.htm
      Launched fine, but I want to control window size and remove all browser junk (toolbars, scrolls, etc.).
    2. Inserted hyperlink and used RH to open in a new windo of a specific size. Path was same as above Simulations/Create_New_Cust.htm
      Problems were, there was no browser window bar to move around the window etc, when I clicked off the captivate it would go away, and my captivate would not close using the close on the captivate nav bar like it is suppossed to. (and because there is not browser bar, there is no browser window close bar)
    3. Then I tried to use Javascript code that we have used in the past javascript:/self.close();window.open('Simulations/Create_New_Cust.htm','Select','HEIGHT=520,WIDTH=710,scrollbars=no')
      The problem was nothing opened.

So do you know of any way to get my captivate to open in a new window of a custom size with no browser junk? I am getting desperate as my project timeline is getting nearer. Can you please help?

Hopefully this gives you enough detail.

Thanks for looking.

D~

Deanne KAuthor
Known Participant
March 8, 2011

Hi,

Try removing location='Create_New_Cust.htm'; from the link, so it looks like this:

javascript:window.open('Simulations/Cre  ate_New_Cust.htm','Create','HEIGHT=683,WIDTH=970,scrollbars=no'

That should solve your problem.

As for the function I provided:

  - To create a JavaScript file, simply open notepad, past the function and save it with the extention .js.

  - To call the function, do not include the asterisks. Thats just the forum code for bold text you see in e-mails.

  - You do not need to change anything in the function. You can enable or disable different browser parts (address bar, etc) by setting the variables to yes or no. DemoScherm is the name of the new window that is created. The function uses this name to first create the window and then focus it (put it on top). It's dutch for demo screen.

About the tracking code, I guess it's some javascript for tracking page visits, is it not? If so, you probably want to add it to the page and not launch it when an URL is clicked. Can you be more precise about what you want to do and what code you need to use?

Greet,

Willam


Thanks Willima, but I tied this too last week. Instead of a blank page in the bg I get a page that says [object] like in the graphic.

This should not be so hard. i am completely frustrated and i am running out of time.

I appreciate people like you and Rick who try to help everyone out. If you can think of anything else to try I would be excited.

Thanks,

Deanne