Skip to main content
Inspiring
February 18, 2010
Question

Hiding the TOC when WebHelp loads

  • February 18, 2010
  • 1 reply
  • 813 views

Is it possible to hide the TOC when WebHelp loads, but allow users to redisplay it when they click the Contents button on the main toolbar?

This topic has been closed for replies.

1 reply

Captiv8r
Legend
February 18, 2010
Jop_SmithAuthor
Inspiring
February 18, 2010

Hi, yes I've given this a try and it works fine, but it's not immediate. With the time delay set to 460 you still see the TOC briefly before it's hidden. I just wondered if there was another way of doing it so that it's not seen at all.

Thanks

Jonathan

Willam van Weelden
Inspiring
February 18, 2010

Hi Willam

I was hoping you would pop in!

When I devised that method years ago I discovered that it took that long of a delay in order to make things work. I imagined that things weren't working with no delay because of the time it was taking to load and process the scripts involved.

Cheers... Rick

Helpful and Handy Links

RoboHelp Wish Form/Bug Reporting Form

Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!

Adobe Certified RoboHelp HTML Training

SorcerStone Blog

RoboHelp eBooks


LOL, it doesn't work without delay

I devised this for RH7 webhelp:

     First, go to whskin_frmset01.htm. On line 52, you see strHTML += "<frameset cols=\"26,*\". Replace 26 (or any other number there) with 0 (zero).

But when the toc loads, it sends a message that the TOC should be visible, change that message, so the TOC is hidden:

     Go to whthost.js to line 1369, replace var oMsg=new whMessage(WH_MSG_SHOWTOC,this,1,null) with oMsg=new whMessage(WH_MSG_HIDETOC,this,1,null)

Hope that helps.

Greet,

Willam