Hello, I am writing specifications in confluence pages, and I would like to add definitions to jargon that appear in the document. In order to avoid over-linking a page, to say a glossary of terms, I would rather the definition of the word appear in a 'Tool-Tip' type of display when the user hovered over the word.
Is there a method for doing this, either with direct support, workaround, or a plug-in?
Thank you!
You could create a user macro that could do this. Something like this should work.
## @param Tip:title=Tool Tip|type=string|required=true|desc=What will be displayed when the cursor hovers over this area? #set( $id = $action.dateFormatter.calendar.timeInMillis ) #set( $d = '$' ) #set( $p = '#' ) #requireResource("com.atlassian.auiplugin:aui-experimental-tooltips") <span id="content$id" title="$paramTip">$body</span> <script type="text/javascript"> AJS.toInit(function(){ AJS.${d}("${p}content${id}").tooltip({gravity: 's'}); }); </script>
This page has some good examples: https://confluence.atlassian.com/display/DISC/Add+Tool+Tip+to+Normal+Text
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.