Collapse and expand individual sections in topic

mdslup
Posts: 139
Joined: Tue Mar 06, 2018 1:34 am

Collapse and expand individual sections in topic

Post by mdslup » Tue Apr 21, 2020 5:44 am

Is there a way to collapse and expand individual sections within a topic? I know there is a way to do this for *all* sections at once, but can it be done individually? Additionally, how can I set the default behavior so that all sections begin as collapsed? I want the user to see all collections as collapsed by default, then expand them individually as needed.

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

Re: Collapse and expand individual sections in topic

Post by Costin » Tue Apr 21, 2020 1:09 pm

Hi Mark,

Please provide more details on the 1st request.

As for the additional request, there is the "webhelp.topic.collapsible.elements.initial.state" parameter, that you could use and set it's value to "collapsed". By default, the sections are expanded.

Best Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support

mdslup
Posts: 139
Joined: Tue Mar 06, 2018 1:34 am

Re: Collapse and expand individual sections in topic

Post by mdslup » Tue Apr 21, 2020 11:30 pm

I really want to be able to collapse and expand individual sections, instead of all at once. So I want each section to have its own collapse/expand button. Here's a diagram: https://i.imgur.com/6GgSSNo.jpg

cosmin_andrei
Posts: 53
Joined: Mon Jun 12, 2017 10:50 am

Re: Collapse and expand individual sections in topic

Post by cosmin_andrei » Wed Apr 22, 2020 2:18 pm

Hi Mark,

As you can see on our online documentation, there you are able to collapse and expand individual sections:
https://www.oxygenxml.com/doc/versions/ ... -html.html
Regards,
Cosmin
--
Cosmin Andrei
oXygen XML Editor and Author Support

Post Reply