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~

Willam van Weelden
Inspiring
March 3, 2011

Hi Rick,

Answers below.

 

(Q1)

Okay, I'm a bit confused by your copying the Simulations folder into the WebHelp folder. RoboHelp normally does that for you as long as the folder is part of the project.

(Q1 Answer)

I am doing what we did in the past. A coworker thinks it weird too, but I am not sure how to do it so RH does it work. When I added the sims folder in the project, when I published it did not move my files over so I manually moved them. I also got an error about a path. Got worried the published file would be looking for my c:/ drive or something. If you can tell me the proper way to add my captivate file I would LOVE to try it.

 (Q2)

What happens if you remove the self.close part of the JavaScript? Seems odd to me that you are first closing, then attempting to re-open a window?

(Q2 ANSWER)

I actually did another test without it but did not mention every test and nothing opened. (again following past stuff procedures) code was javascript:/window.open('Simulations/Create_New_Cust.htm','mywindow','width=400,height=200','scrollbars=no')

(Q3)

Also, are you not able to click off the popup window to see it close? Normally clicking elsewhere will cause it to dismiss.

(Q3 ANSWER)

Yes it does close if I click off it however it looks real awful with no browser bar on top and my last slide tells them congrats you are done blah blah blah, and instructs them to click close. It si not preferable this way.

So anything you can offer as suggestions is so completely appreciated.

 

Thanks,

Deanne

************************************************************

This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies.


Hi,

I hope Rick doesn't mind me party crashing.

1. When you add a Captivate demo in RoboHelp, add all the output files as baggage files to your project. You need to include the html, the javascript and the swf files. RoboHelp will then take all these files to your output.

2. I use a function in an external JavaScript to create a popup with the demo. In the the hyperlink:

     javascript:PopUp('myurl.htm', 100, 100);

     The function in the script:

     function PopUp(sURL, sWidth, sHeight)
{   
    var sStatus = 'no';
    var sToolbar = 'no';
    var sLocation = 'no';
    var sMenubar = 'no';
    var sResize = 'no';
    var sScroll = 'no';
           
    DemoScherm = window.open(sURL,'','status='+sStatus+',toolbar='+sToolbar+',location='+sLocation+
                             ',menubar='+sMenubar+',resizable='+sResize+',scrollbars='+sScroll+',width='+sWidth+',height='+sHeight+'')   
    DemoScherm.focus()
}

3. You can let Captivate execute JavaScript. Can you let Captivate close the window for you?

Greet,

Willam