Webhelp Classic - Prevent resizing TOC
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 167
- Joined: Tue Mar 06, 2018 1:34 am
Webhelp Classic - Prevent resizing TOC
When generating classic webhelp, it's possible to click and hold the line between the left-side table of content and the right side content, and move the divider left and right.
Is it possible to disable this?
Is it possible to disable this?
-
- Posts: 846
- Joined: Mon Dec 05, 2011 6:04 pm
Re: Webhelp Classic - Prevent resizing TOC
Hi mdslup,
There is no predefined action or parameter you could use in the transformation scenario to hide / disable the splitter in the WebHelp Classic output.
However, there is a workaround which you could use to disable the splitter bar and make the side TOC fixed.
Specifically, you should edit the "toc_driver.js" file from the OxygenInstallDir\frameworks\dita\DITA-OT2.x\plugins\com.oxygenxml.webhelp.classic\oxygen-webhelp\resources\skins\desktop folder and comment the entire if clause after the description:
This will disable the divider.
To re-enable it at a later time, you could just uncomment those block.
Regards,
Costin
There is no predefined action or parameter you could use in the transformation scenario to hide / disable the splitter in the WebHelp Classic output.
However, there is a workaround which you could use to disable the splitter bar and make the side TOC fixed.
Specifically, you should edit the "toc_driver.js" file from the OxygenInstallDir\frameworks\dita\DITA-OT2.x\plugins\com.oxygenxml.webhelp.classic\oxygen-webhelp\resources\skins\desktop folder and comment the entire if clause after the description:
/**
* @description Split page in leftPane and rightPane
*/
Code: Select all
if ( $("html").attr("dir") != "rtl") {
$("#splitterContainer").splitter({
minAsize: 0,
maxAsize: 600,
splitVertical: true,
A: $('#leftPane'),
B: $('#rightPane'),
closeableto: 0,
animSpeed: 100
});
} else {
$("#splitterContainer").splitter({
minBsize: 0,
maxBsize: 600,
splitVertical: true,
A: $('#rightPane'),
B: $('#leftPane'),
closeableto: 100,
animSpeed: 100
});
}
To re-enable it at a later time, you could just uncomment those block.
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