Page 1 of 1

Fold sections in one topic file

Posted: Thu Dec 27, 2018 3:28 pm
by catherine
Hi, Oxygen support,
I have one topic file that includes Frequently Asked Questions.
In the topic file, say I have 10 questions and answers.
When I publish my documentation to webhelp, I hope that in this topic, all the answers are fold by default; For other articles, the sections should be unfold by default.
When users enter this topic page, the only see the questions, after they click the question, the answer will be unfold.


How to acheive this?

Re: Fold sections in one topic file

Posted: Mon Jan 07, 2019 12:39 pm
by Costin
Hello,

To add this extra functionality to your output, you should develop and use a JavaScript fragment, that you could pass to your output.
After you develop the JS fragment, to use it in the output, you should follow the instructions from this section of the User-Guide.

Regards,
Costin

Re: Fold sections in one topic file

Posted: Fri Jan 18, 2019 9:08 am
by catherine
Thanks for your information, Costin!