
Hi David, Sorry but Oxygen supports neither the CSS "hover" pseudo attribute nor JavaScript extensions. The closest you could get to having additional information displayed would be to try and provide a custom view to the Oxygen editor and display the additional information in the view when the mouse hovers. This would be done using our Java Plugins SDK (Workspace Access plugin):
If you are interested in this approach of using our Java API I can give you more details. Regards, Radu Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 2/15/2012 7:01 PM, David Lee wrote:
I'd like to implement something like a popup note in Author.
I looked at various CSS implementations ... most use JavaScript which I don't see as supported in Author Mode, but one example used something like this: (below)
But I found Oxygen doesn't support hover. Is there anything else that could be used in its place like clicking on a link ? suggestions welcome.
a.info{ position:relative;/*this is the key*/ z-index:24; background-color:#ccc; color:#000; text-decoration:none}
a.info:hover{z-index:25; background-color:#ff0}
a.info span{display: none}
a.info:hover span{/*the span will display just on :hover state*/ display:block; position:absolute; top:2em; left:2em; width:15em; border:1px solid #0cf; background-color:#cff; color:#000; text-align: center}
----------------------------------------
David A. Lee
dlee@calldei.com <mailto:dlee@calldei.com>
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user