Skip to main content
November 27, 2007
Question

RH7 TOC books don't open in Firefox

  • November 27, 2007
  • 45 replies
  • 5091 views
I just upgraded from RoboHelp 6 to 7. The first thing I did after the upgrade was to generate my Webhelp project. I wanted to check that the output was acceptable. In Mozilla and IE, the output is fine. When the help opens, the book containing my default topic is open in the TOC and all the other books open and close when I click them.

But in the Firefox, all the TOC books are closed when the help first opens. None of the books will open until I click the book containing my default topic. After I open that book, the others open as they should.

I don't have this problem with the help I generated this morning before I upgraded.

Any ideas as to what's causing this?
    This topic has been closed for replies.

    45 replies

    November 27, 2007
    Thanks for the info Harvey. I guess by "rule" you mean a bug that they never bothered to fix. I didn't know about that one. I've been using RoboHelp on this same help project since version 4 and it has worked until I upgraded to version 7.

    -Al Davidson
    Inspiring
    November 27, 2007
    It used to be a "rule" that the default topic should be first in the TOC, and not inside a book.

    But if you want it in a a book, and can make it work, OK.

    Harvey
    November 27, 2007
    I tried modifying the whthost.js file, and that does fix the problem, mostly. But, I wouldn't call this "The Answer" for two reasons:

    1. The TOC doesn't show the location of the default topic when the help loads in the browser. This is not terrible, but it would be nice to fix this problem also and might be related to the other problem that kath33 noticed.

    2. whthost.js is an output file rather than a source file, which means you would have to edit it every time you generate.

    I'm hoping somebody might have a solution that can be applied to the source.

    -Al Davidson
    Captiv8r
    Legend
    November 27, 2007
    Hi Al

    You may modify the source in the following location. (Assuming a default install)

    C:\Program Files\Adobe\Adobe RoboHelp 7\RoboHTML\WebHelp5Ext\template_stock

    After that, the tweak should be present in any build.

    Cheers... Rick
    Participant
    November 27, 2007
    This is a problem that I have also encountered. I actually posted a message about this but I wasn't as clear as you in my explanation! Anyway, we have found how to solve this problem:
    You need to modify the following file: whthost.js, line 272, enter « gsTP=null; » just after « sHTML+=" ». Therefore: sHTML+="markBook("+nIdx+") needs to be changed to: sHTML+="gsTP=null;markBook("+nIdx+").
    It should work.
    However, we have noticed another problem in Firefox and IE: there is no synchronization of the TOC with the navigation. I mean that if you change page or book, the highlight in the TOC (indicating where you are exactly in the TOC) won't move according to the pages visited. Have you noticed this problem? We could not find a solution.
    November 27, 2007
    Thank you very much (Katherine/Kathy?), I'll give that a try.

    I didn't notice the other problem yet, because I've just gotten started with this version. Have you posted that problem? If so, what was the date of the post? Did you try turning off the breadcrumbs? (I'm assuming it's possible to do that.)

    -Al Davidson
    Peter Grainge
    Community Expert
    Community Expert
    November 27, 2007
    Not a problem that I have seen anyone report. Open one of the sample projects or create a new one with a few topics. See if you get the same issue there.

    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.