Highlighted

TOC not showing up in sidebar by default.

New Here ,
Feb 16, 2016

Copy link to clipboard

Copied

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.

TOPICS
HTML5 layout

Views

377

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

TOC not showing up in sidebar by default.

New Here ,
Feb 16, 2016

Copy link to clipboard

Copied

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.

TOPICS
HTML5 layout

Views

378

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Feb 16, 2016 0
Adobe Community Professional ,
Feb 17, 2016

Copy link to clipboard

Copied

Post moved to HTML5 Layouts forum.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

www.grainge.org for free RoboHelp & Authoring info. Use the blue Reply button at the top to help me help you.
The black Reply link nests replies and they sort out of order.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 17, 2016 0
New Here ,
Mar 10, 2016

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Mar 10, 2016 0
LEGEND ,
Mar 19, 2016

Copy link to clipboard

Copied

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?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Mar 19, 2016 0
Rannath LATEST
New Here ,
Apr 12, 2016

Copy link to clipboard

Copied

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 12, 2016 0