Skip to main content
Participating Frequently
November 28, 2013
Question

Expand TOC by default when press F1

  • November 28, 2013
  • 1 reply
  • 492 views

Hi,

Is it possible that when a user press F1 for a given page (context-sensitive help) the table contents at the left is expanded by default and that given page is highlighted/selected from the toc?

Currently I need to click the "Expand contents" link first to see the table of contents.

I'm generating my project using WebHelp (Primary Layout) with Robohelp 10.

Thank you in advance!

This topic has been closed for replies.

1 reply

Willam van Weelden
Inspiring
November 28, 2013

Hi,

You can use a window definition for that. In the Project Set-up, create

a window with a two pane view. Include it in your output and tell the

developers to amend the way they call the help to also include the

window name. That will open the TOC by default.

See

http://www.wvanweelden.eu/articles/context-sensitivity-webhelp-and-flashhelp

for more information on how to call the help with a window definition.

Kind regards,

Willam

Participating Frequently
November 28, 2013

Hi,

Thanks for your reply. I already created a new window with two panes but can you instruct me how to include the window in the output?

I am generating the output using WebHelp (Primary Layout) and I can't find option related to windows.

How will I know that it is created, would there be a file in the output folder that I can check?

Thanks again!

Willam van Weelden
Inspiring
November 28, 2013

If you create a window for the correct output type (WebHelp in your

case), they window will be automatically available in the output. You

only need to specify the window name in the call from the application.

The window name can be parsed in the default RH API. For more info, see

http://www.wvanweelden.eu/articles/part/regular-start-page

Kind regards,

Willam