Hovertext implementation in Oxygen XML Author v19

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

Hovertext implementation in Oxygen XML Author v19

Tue Nov 14, 2017 8:59 pm

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
Radu
Posts: 5129

Re: Hovertext implementation in Oxygen XML Author v19

Wed Nov 15, 2017 2:53 pm

Hi Syed,

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

https://www.oxygenxml.com/dita/styleguide/webhelp-feedback/index.html#Artefact/Maps/c_glossref.html

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

Re: Hovertext implementation in Oxygen XML Author v19

Thu Nov 16, 2017 8:44 pm

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.
Radu
Posts: 5129

Re: Hovertext implementation in Oxygen XML Author v19

Fri Nov 17, 2017 12:41 pm

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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Return to “Common Problems”

Who is online

Users browsing this forum: No registered users and 0 guests