can I add a tooltip to an element from css?

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
eduarddrenth
Posts: 9
Joined: Thu Oct 03, 2019 2:17 pm

can I add a tooltip to an element from css?

Post by eduarddrenth » Fri Nov 08, 2019 11:57 am

Can I, using oxy_ functions for example, add a tooltip to an element?

Radu
Posts: 7028
Joined: Fri Jul 09, 2004 5:18 pm

Re: can I add a tooltip to an element from css?

Post by Radu » Mon Nov 11, 2019 2:07 am

Hi,

We do not have such a feature but it makes sense, I added an internal issue for it and we'll update the forum thread when such an improvement becomes available.
Using Oxygen's Java API it would probably be feasible to implement something like this from a plugin.

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

eduarddrenth
Posts: 9
Joined: Thu Oct 03, 2019 2:17 pm

Re: can I add a tooltip to an element from css?

Post by eduarddrenth » Mon Nov 11, 2019 2:09 pm

Thanks, looking forward, this will help me make author mode more usable for our lexicographers and linguists.

Radu
Posts: 7028
Joined: Fri Jul 09, 2004 5:18 pm

Re: can I add a tooltip to an element from css?

Post by Radu » Tue Jan 07, 2020 1:26 pm

Hi,

Quite late on this, but as a workaround you can display some HTML inside the element content:

https://www.oxygenxml.com/doc/versions/ ... tmlcontent

You can also use the ":hover" CSS pseudo class to show the HTML documentation when the end user hovers over the element.

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

eduarddrenth
Posts: 9
Joined: Thu Oct 03, 2019 2:17 pm

Re: can I add a tooltip to an element from css?

Post by eduarddrenth » Sun Aug 02, 2020 12:53 pm

Experimented with adding html, but this makes the view very restless, a tooltip would be ideal here and probably in other situations as well

Post Reply