Page 1 of 1

Hovertext implementation in Oxygen XML Author v19

Posted: Tue Nov 14, 2017 8:59 pm
by syed
Hi,

There are technical terms in the topics for which i would like users to view definition as hover text. For eg. if the statement is 'When you create a schedule, ...' the users can hover over 'schedule' to see what that term means. Does Oxygen has such a capability? If yes, how to implement it?

Thanks...
Syed

Re: Hovertext implementation in Oxygen XML Author v19

Posted: Wed Nov 15, 2017 2:53 pm
by Radu
Hi Syed,

The DITA standard has an element called "abbreviated-form", you can find more info about it here:

https://www.oxygenxml.com/dita/stylegui ... ssref.html

Regards,
Radu

Re: Hovertext implementation in Oxygen XML Author v19

Posted: Thu Nov 16, 2017 8:44 pm
by syed
Thanks Radu. I will try that but can you tell me if the element can be used with a concept/task topic? I am not creating a glossary.

Re: Hovertext implementation in Oxygen XML Author v19

Posted: Fri Nov 17, 2017 12:41 pm
by Radu
Hi,

The abbreviated-form needs to have a glossentry constructed (a glossentry is a special kind of DITA topic). Once you have that glossentry, you can assign a key to it and use <abbreviated-form keyref="keyName"/> in your topics and tasks where you want the reference to be expanded.
This may indeed not be what you want.
I tried also an approach like this:

Code: Select all

<p>Some text before <xref><b>term</b><desc>Some description</desc></xref> some text after</p>
so a link without a target but with a <desc> description inside it. This also seemed to produce a tooltip over the text.

Maybe you could also consider registering on the DITA Users List:

http://dita.xml.org/dita-users

and ask around, the DITA experts there may have better suggestions than I do.

Regards,
Radu