Skip to main content
Known Participant
September 25, 2013
Question

How can I make my Robohelp project with a fix width

  • September 25, 2013
  • 1 reply
  • 709 views

I would like to have my Navigation pan to be 200 pixels and my content pane to be 800 pixels..

I do not want the text to flow on either side of the panes.

Is that possible?

I might have use a table for the content in the past to limit the flow. But I am looking for a more elegant way to set a project's dimension.

This topic has been closed for replies.

1 reply

Willam van Weelden
Inspiring
September 26, 2013

What output are you creating? How to go into this greatly depends on the output type.

Greet,

Willam

softclicAuthor
Known Participant
September 26, 2013

I creating a WebHelp output that is published on a Web server.

Willam van Weelden
Inspiring
October 3, 2013

Sorry to leave you hanging, your answer slipped through.

There are two ways to do this: the easy and the hard. The easy is to create a window in the Project Set up pod. Then specify a width and height for the help:

The hard way: Add the following code to every topic:

<script type="text/javascript" language="JavaScript1.2">if(!isnavpanevisible()) {

     document.getElementsByTagName("body")[0].style.maxWidth = "1000px";

} else {

     document.getElementsByTagName("body")[0].style.maxWidth = "800px";

}</script>

The easiest way to do this is to add the code to the header or footer of your master page.

Both methods don't make the sidebar 200 pixels wide. To do that, follow these steps:

  1. Open whskin_frmset01.htm with a text editor.
  2. Look for the text strHTML += "<frameset cols=\" (around line 66)
  3. The text is followed by a value (normally 260 or 220) : <number>,*
  4. Find and replace the given number by 200 in the file.
  5. Save the file.

The help should now be a fixed size. But a user can still rescale the browser and the sidebar.

Greet,

Willam