Skip to main content
Rannath
Participant
Feb 16, 2016 7:33 PM UTC
Question

TOC not showing up in sidebar by default.

I was hunting down an issue that caused the TOC in HTML5 pages to not show by default. I tracked the issue down to tabpanel1.js. I had to remove anything in gTabListIdArr and gTabContentIdArr that ended in numbers to fix the issue (none of the related pieces have numbers, if this isn't true for you be careful).

Here's my question: How did those extra list items appear in the first place? I can fix this issue manually, by removing them from tabpanel1.js after it's created, but I'd rather know how it happened so I can stop it from happening again.

This topic is closed to new replies. Start a new post to keep the conversation going.

4 replies

Rannath
RannathAuthor
Participant
Mar 10, 2016 7:21 PM UTC

This issue has now jumped from tabpanels1.js to tabpanels2.js.

Translate
Willam van Weelden
Inspiring
Mar 19, 2016 11:51 AM UTC

The issue will stay jumping because there is probably something in the TOC that the script is breaking on.

This sounds like you are using Multiscreen HTML5. Is that correct? My question: is the TOC not loading? Or is the sidebar being hidden by default?

Translate
Rannath
RannathAuthor
Participant
Apr 12, 2016 4:40 PM UTC

The TOC is not loading, I know where the issue is once RoboHelp builds the site (extra elements in gTabListIdArr and gTabContentIdArr cause javascript to land on an undefined element and choke, removing those elements fixes the issue), but I don't know why RoboHelp adds the extra stuff to gTabListIdArr and gTabContentIdArr.

Translate
Peter Grainge
Community Expert
Community Expert
Feb 17, 2016 12:10 PM UTC

Post moved to HTML5 Layouts forum.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

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