Expand/collapse text
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 419
- Joined: Mon May 09, 2016 9:37 am
Re: Expand/collapse text
Post by sorin_carbunaru »
Hello Carl,
Are you asking about the text from the editing area (Text page or Author page) or about the text in the published output (for example WebHelp)?
Best wishes,
Sorin Carbunaru
oXygen XML
Are you asking about the text from the editing area (Text page or Author page) or about the text in the published output (for example WebHelp)?
Best wishes,
Sorin Carbunaru
oXygen XML
-
- Posts: 407
- Joined: Mon Dec 05, 2011 6:08 pm
Re: Expand/collapse text
Hi,
In the WebHelp Responsive output we have implemented for the expand/collapse feature. Our implementation is targeted on components that have a title. The title will act as a toggle button and it will always remain visible while the rest of the component will be collapsed/expanded. The expand-collapse widget is rendered before the title. The expand-collapsed state will actually be toggled by clicking only on this widget (not on the title's text).
We have 4 categories of components that match this pattern:
Here is an example from our user-manual with a topic that contains collapsible elements:Publishing Template Package Contents
Regards,
Ionela
In the WebHelp Responsive output we have implemented for the expand/collapse feature. Our implementation is targeted on components that have a title. The title will act as a toggle button and it will always remain visible while the rest of the component will be collapsed/expanded. The expand-collapse widget is rendered before the title. The expand-collapsed state will actually be toggled by clicking only on this widget (not on the title's text).
We have 4 categories of components that match this pattern:
- nested topics (to have nested topics you need to set chunk="to-content" attribute on the parent topic
- sections that have a title
- tables that have a title
- index terms groups
Here is an example from our user-manual with a topic that contains collapsible elements:Publishing Template Package Contents
Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
-
- Posts: 846
- Joined: Mon Dec 05, 2011 6:04 pm
Re: Expand/collapse text
Hi,
The support that we have implemented in WebHelp for the expand/collapse functionality is not extensible, so it is not possible to have expand/collapse functionality also for notes and all tables, by default.
However, even if I could not tell exactly how that should look like, probably you could achieve that through your own Javascript customization.
For more details on how to include JavaScript code into custom HTML fragments that could be used to customize the WebHelp Responsive output, see this section from the User-Guide.
Regards,
Costin
The support that we have implemented in WebHelp for the expand/collapse functionality is not extensible, so it is not possible to have expand/collapse functionality also for notes and all tables, by default.
However, even if I could not tell exactly how that should look like, probably you could achieve that through your own Javascript customization.
For more details on how to include JavaScript code into custom HTML fragments that could be used to customize the WebHelp Responsive output, see this section from the User-Guide.
Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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