Expand and collapse topic TOC

steinbacherGE
Posts: 55
Joined: Tue Mar 13, 2018 6:07 pm

Expand and collapse topic TOC

Post by steinbacherGE » Thu Aug 06, 2020 4:59 pm

Is it possible to modify wt_topic.html so that the topic TOC expands and collapses like the publication TOC?
WebhelpTopicTOC.png
WebhelpTopicTOC.png (157.19 KiB) Viewed 771 times
We would like wh_topic_toc to have a button similar to wh_publication_toc.

Thanks,

Leroy

Costin
Posts: 747
Joined: Mon Dec 05, 2011 6:04 pm

Re: Expand and collapse topic TOC

Post by Costin » Mon Aug 10, 2020 12:25 pm

Hi Leroy,

Adding a button to hide the topic toc is not somthing you could do by default using the current implementation of webhelp.
However, I logged an improvement request in our internal tracking system, so our development team will consider adding a button to expand/collapse the toc in a future version of the software.

Meanwhile, most probably this could be achieved through a JavaScript customization.
If you would create your own JavaScript customization, see this section from the User-Guide, describing how to add the JavaScript through HTML content in the WebHelp output.

Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support

steinbacherGE
Posts: 55
Joined: Tue Mar 13, 2018 6:07 pm

Re: Expand and collapse topic TOC

Post by steinbacherGE » Wed May 05, 2021 8:06 pm

We are actually looking for this feature in the main TOC menu to the left and not the topic menu.

Currently there is a way to collapse all the menu children, but not the menu itself.

This would allow users to show or hide the publication TOC to make more room for the topic content within the browser window.

Thanks,

Leroy

ionela
Posts: 366
Joined: Mon Dec 05, 2011 6:08 pm

Re: Expand and collapse topic TOC

Post by ionela » Wed Oct 20, 2021 12:40 pm

Hello,

Just to update the thread, this improvement has been implemented in the latest version (v24.0) of Oxygen XML which has been recently released. You can download v24.0 from our website:
Download Oxygen XML Products

The complete what's new list is available here:
What's New in Oxygen XML Webhelp 24
What's New in Oxygen XML Editor 24

Let us know if you encounter further problems with the new version.

Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support

Post Reply