Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Hiding the TOC when WebHelp loads

Participant ,
Feb 18, 2010 Feb 18, 2010

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?

819
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 18, 2010 Feb 18, 2010
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Feb 18, 2010 Feb 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 18, 2010 Feb 18, 2010

Removing the time delay?

Greet,

Willam

This e-mail is personal. For our full disclaimer, please visit www.centric.eu/disclaimer.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 18, 2010 Feb 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 18, 2010 Feb 18, 2010

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Feb 18, 2010 Feb 18, 2010
LATEST

That is brilliant. It works a treat.

Thanks very much Willam.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp