Page 1 of 1
Nav buttons missing in Oxygen Webhelp output
Posted: Wed Feb 03, 2016 1:40 am
by MelkorX
We are using the standalone Oxygen WebHelp 17.0 plugin and cannot get the Previous Topic, Next Topic buttons to appear. I have heard this is a limitation with the standalone plugin. Is that true? Is there any way to get the navigation buttons to appear?
Re: Nav buttons missing in Oxygen Webhelp output
Posted: Wed Feb 03, 2016 4:29 pm
by radu_pisoi
Hi,
I don't know any issue or limitation related with the navigation buttons.
They are usually displayed when the @collection-type attribute is specified with the sequence value on the DITA map's topicref. In this case, the navigation links are generated for all the topics that are descendant of the topicref with @collection-type="sequence".
Are the navigation buttons missing even if you specify the @collection-type attribute?
Re: Nav buttons missing in Oxygen Webhelp output
Posted: Wed Feb 03, 2016 11:43 pm
by MelkorX
Thanks for replying. I tried setting collection-type="sequence" on the top-level topicref in the map and still do not see navigation buttons.
Re: Nav buttons missing in Oxygen Webhelp output
Posted: Thu Feb 04, 2016 12:01 am
by MelkorX
I saw the buttons in the output html source. Turns out the visibility was set to hidden for .navparent,.navprev,.navnext in the webhelp_topic.css. I commented out the visibility:hidden line and it seems to work when using the collection-type="sequence" on the topicref. Thanks for the tip!
Re: Nav buttons missing in Oxygen Webhelp output
Posted: Thu Feb 04, 2016 11:13 am
by radu_pisoi
Hi,
I'm glad that you've found a solution for your problem.
However, I am not able to reproduce this issue in order to fix it in a future oXygen version. I've searched for the string 'visibility:hidden' in the 'webhelp_topic.css' file, but I haven't found any occurrence of it.
Is it possible that you have a customized(modified) version of this file?
Re: Nav buttons missing in Oxygen Webhelp output
Posted: Fri Feb 05, 2016 1:27 am
by MelkorX
It is definitely possible. I am taking over work from a contractor. They had said there was a javascript issue, but that does not seem to be the case. We wanted the navigation buttons for all topics, so I updated the template match in maplinkNextPrevFullIteration.xsl to not filter for @collection-type="sequence" and it works for all topics. Thanks again for your help!