Fold sections in one topic file
Post here questions and problems related to editing and publishing DITA content.
Fold sections in one topic file
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?
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
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
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
Costin Sandoi
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service