How to change topic icon on webhelp TOC
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: How to change topic icon on webhelp TOC
Post by sorin_ristache »
Hi Tom,
The icons in the Contents tab of the WebHelp output are loaded from the file [Oxygen14.0-install-dir]\frameworks\dita\DITA-OT\plugins\com.oxygenxml.webhelp\oxygen-webhelp\resources\img\icons.png which is copied automatically by the DITA WebHelp transformation to the output directory of the transformation. The icons are extracted from this PNG image by the CSS stylesheet [Oxygen14.0-install-dir]\frameworks\dita\DITA-OT\plugins\com.oxygenxml.webhelp\oxygen-webhelp\resources\css\ui.dynatree.css. For example the icon with the question mark is displayed by the following code from ui.dynatree.css:
So you will have to edit the icons.png file and replace only the question mark fragment which starts at 17 pixels to the right from the top left corner.
I know this is not very convenient for changing the icons of the Contents tree and we plan to split this image into multiple icon files in a future version of Oxygen.
Regards,
Sorin
The icons in the Contents tab of the WebHelp output are loaded from the file [Oxygen14.0-install-dir]\frameworks\dita\DITA-OT\plugins\com.oxygenxml.webhelp\oxygen-webhelp\resources\img\icons.png which is copied automatically by the DITA WebHelp transformation to the output directory of the transformation. The icons are extracted from this PNG image by the CSS stylesheet [Oxygen14.0-install-dir]\frameworks\dita\DITA-OT\plugins\com.oxygenxml.webhelp\oxygen-webhelp\resources\css\ui.dynatree.css. For example the icon with the question mark is displayed by the following code from ui.dynatree.css:
Code: Select all
span.dt-icon /* Default icon */
{
background-position: -17px 0px;
}
I know this is not very convenient for changing the icons of the Contents tree and we plan to split this image into multiple icon files in a future version of Oxygen.
Regards,
Sorin
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