Oxygen 13.2 Webhelp customize

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
spherik
Posts: 17

Oxygen 13.2 Webhelp customize

Fri Jan 20, 2012 4:45 pm

In DITA WebHelp output, it looks like the jquery engine has changed between 13.0 and 13.2. I can no more customize my TOC tree icons and link/hover behavior (book, page, openbook -one one gif) as I did.

Can someone please help me with a new customizing procedure for the TOC tree icons/links on 13.2 ?

Many thx
Radu
Posts: 5626

Re: Oxygen 13.2 Webhelp customize

Mon Jan 23, 2012 11:24 am

Hi,

Yes, the engine used to build the TOC has changed to allow for easy loading of very large TOCs without blocking the browser in any way.

The folder:

OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/plugins/webhelp/resources/assets/images

contains images used in the TOC, unfortunately we should have done a better job cleaning it out, from it the image which is used for the TOC is called "icons.png" which is referenced in the:

OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/plugins/webhelp/resources/assets/ui.dynatree.css

The fact that "icons.png" contains more than one image inside it is a trick in order to increase the load speed of the page, the selectors in the CSS which use the image have different "background-position"'s for it, thus rendering different parts of the image.
So you could probably try to modify the "icons.png" to replace the help icons with folder icons.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
spherik
Posts: 17

Re: Oxygen 13.2 Webhelp customize

Tue Jan 24, 2012 8:13 pm

Thanks Radu, I'll be back to you on that.
spherik
Posts: 17

Re: Oxygen 13.2 Webhelp customize - working

Tue Jan 24, 2012 11:04 pm

Radu, That did it !

I modified the icons.png file and I have what I need...

Thanks again.
spherik
Posts: 17

Re: Oxygen 13.2 Webhelp customize

Wed Jan 25, 2012 12:05 am

Radu,

It looks also that the stylesheet affecting the tree (in webhelp toc)has changed or is not the same. ui.dynatree.css seems to control a bunch of styles on the TOC tree, but with strange objects (container, ds, etc.). It is seemingly overriding webhelp_toc.css. I can't obtain the same behavior as on v. 13.0.
Radu
Posts: 5626

Re: Oxygen 13.2 Webhelp customize

Wed Jan 25, 2012 3:08 pm

Hi,

I do not know exactly what customizations you had.
Indeed both CSS files can be used to customize the TOC.
Both stylesheets you discussed are linked in the HTML like this:

Code: Select all

<link href="assets/ui.dynatree.css" type="text/css" rel="stylesheet"/>
<link href="assets/webhelp_toc.css" type="text/css" rel="stylesheet"/>


So for CSS selectors having the same importance, the "webhelp_toc.css" should have more priority.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Return to “Common Problems”

Who is online

Users browsing this forum: No registered users and 2 guests