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?

Willam van Weelden
Inspiring
January 25, 2014

There is a workaround. You will have to update the seed file. The seed

files are the templates that RoboHelp uses to generate the output.

You find the seed file for whthost.js in %RH installation

directory%\RoboHTML\WebHelp5Ext\template_stock

Make a backup of the original file before you change the seed file!

Kind regards,

Willam