Skip to main content
Participating Frequently
January 16, 2014
Question

Iframing a robohelp project

  • January 16, 2014
  • 1 reply
  • 1781 views

Has anyone iframed a robohelp project? We have a client who needed to put their robohelp project/files behind a login, and share the main website's header and footer.

So we ended up iframing (the already iframed) robohelp project. The print button in the robohelp toolbar isn't working, probably because we're iframing an iframed project. Has anyone had a good workaround for that?

This topic has been closed for replies.

1 reply

Willam van Weelden
Inspiring
January 16, 2014

You can put the help in an iframe, but I found that the TOC doesn't load

correctly on IE when the help is placed in an iframe. I've worked around

this by commenting a check in the function ExpandIt in whthost.js:

function ExpandIt(nId)

{

//if(!gsTP)/* Workaround for not loading in IE11 in iFrame. */

ExpandIt2(nId,false);

}

As for the print button, you may need to amend the code of the print

button in the skin editor so that the button points to the correct

frame. top..restofpath or something like it.

Kind regards,

Willam

egockelAuthor
Participating Frequently
January 24, 2014

Thanks William!

We put in a fix in the whskin_tbars.htm file but it looks like it gets overwritten every time the project is republished with new content. Is there a workaround for that?

Captiv8r
Legend
February 7, 2014

Willam,

We tried searching for var printAction = function() in the entire folder/project to modify the target of the print function in the seed file and no luck.

Is there a technical resource at Adobe we can escalate this to?


Hi there

Just a couple of things.

First, (and this is mostly for anyone finding this thread down the road) I'd like to clarify something. An HTML page may have an Inline Frame inside it. That is referred to as an IFRAME. While RoboHelp produces an output type known as WebHelp, this output is presented using a FRAMESET. A FRAMESET is totally different from an IFRAME. In an IFRAME, the content from a different web page is presented inside a single frame. But a FRAMESET is typically used to divide a HTML page into two or more areas, with each area presenting a different HTML page.

As for the function and the changes you are referring to, Willam advised you to make a tweak to the seed file. That tweak was simply to allow the TOC and other elements to display properly. There was a second bit. The second bit involves the Print function.

Note that the print function is not part of the seed file. It's part of the skin. So it's no surprise whatsoever you aren't finding it in the seed file. It simply isn't there to be found.

You need to be looking at the code inside the skin editor.

Cheers... Rick