Skip to main content
Participant
July 28, 2014
Answered

Keep TOC books expanded?

  • July 28, 2014
  • 1 reply
  • 507 views

RH 11: Multiscreen desktop layout

I am generating desktop layout (only) in my Multiscreen SSL. Our users are only going to view our help from a PC and we’ve got auto-collapsing TOC books that are driving everyone mad. Can anyone please help?

Here is the behavior we’re seeing:

  1. Open books and sub books (result: books are open).
  2. Click a topic in a sub-book (result: books stay open).
  3. Open a new book and sub-book (result: new books and old books are open)
  4. Click a topic in the new sub-book (result: old books close). Gah!

At step 4, we want all the books to say open.

I am using a desktop layout based on the default “Desktop_Layout” shipped with RH that I have adjusted slightly for colour and branding.

This uses the TOC widget with a class="wTOCTree" and widgettype="toctree".

Reading WvanWeelden’s site (http://www.wvanweelden.eu/blog/2012/12/20/starting-html5-layouts-robohelp-getting-know-widgets), he explains the behavior of the two TOC widget types:

  • TOC tree - Default table of contents that presents a tree view. Perfect for desktop.
  • TOC expanding node - The table of contents that shows you only one level at the same time. Clicking a book will take you to the next level. Perfect for mobile devices.

Although I have the TOC tree type specified, I think I am getting the TOC expanding node behavior.

I should mention, I have only viewed the output locally so far - haven't been able to get it on a webserver yet.

Can anyone advise?

thanks in advance

This topic has been closed for replies.
Correct answer Willam van Weelden

The problem here is that if you click a topic in the TOC, the whole page reloads and your TOC is closed as well. Even if you are using the TOCTree widget. This is an issue with the widget itself, so there's not much to be done about it at this time.

I know that Adobe is aware of this issue and that they're working on a solution. I'm afraid you will just have to hang in there for now.

Kind regards,

Willam

1 reply

Willam van Weelden
Willam van WeeldenCorrect answer
Inspiring
July 31, 2014

The problem here is that if you click a topic in the TOC, the whole page reloads and your TOC is closed as well. Even if you are using the TOCTree widget. This is an issue with the widget itself, so there's not much to be done about it at this time.

I know that Adobe is aware of this issue and that they're working on a solution. I'm afraid you will just have to hang in there for now.

Kind regards,

Willam

Participant
August 2, 2014

Thank you very much for the response.