Add search to navigation and show/hide it
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 9
- Joined: Fri Sep 15, 2023 9:56 am
Add search to navigation and show/hide it
Hello everyone,
I would like to know how I to integrate the search function for Webhelp-Output in the same way as on the website:
https://www.oxygenxml.com/
The search should also be expanded when the loupe is clicked and the navigation should be hidden.
Many thanks in advance!
I would like to know how I to integrate the search function for Webhelp-Output in the same way as on the website:
https://www.oxygenxml.com/
The search should also be expanded when the loupe is clicked and the navigation should be hidden.
Many thanks in advance!
search_active.PNG
search_inactive.PNG
You do not have the required permissions to view the files attached to this post.
-
- Posts: 407
- Joined: Mon Dec 05, 2011 6:08 pm
Re: Add search to navigation and show/hide it
Hi,
To move the Search component from its default location to the header section of the output page, you need to use an XSLT customization. We have a sample publishing template that might be very useful as a starting point:
Git - Search Input in Page Header
For the second requirement, to have the search expanded when the loupe is clicked and the navigation bar hidden, you need to develop a JavaScript customization in order to achieve this for the WebHelp output:
How to Insert Custom HTML Content
How to Use CSS Styling to Customize the Output
I hope this helps.
Regards,
Ionela
To move the Search component from its default location to the header section of the output page, you need to use an XSLT customization. We have a sample publishing template that might be very useful as a starting point:
Git - Search Input in Page Header
For the second requirement, to have the search expanded when the loupe is clicked and the navigation bar hidden, you need to develop a JavaScript customization in order to achieve this for the WebHelp output:
How to Insert Custom HTML Content
How to Use CSS Styling to Customize the Output
I hope this helps.
Regards,
Ionela
Ionela Istodor
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