How do I create a 'Tool Tip' or 'Hover Over' text display?

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!


2 answers

1 vote
Davin Studer Community Champion Sep 12, 2014

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 wil be displayed when the cursor hovers over this area?
#set( $id = $action.dateFormatter.calendar.timeInMillis )
#set( $d = '$' )
#set( $p = '#' )
<span id="content$id" title="$paramTip">$body</span>
<script type="text/javascript">
    AJS.${d}("${p}content$id").tooltip({gravity: 's'});

So I should create a macro, say hovertip, with that content? How do I use the macro? Thanks!

Suggest an answer

Log in or Join to answer
Community showcase
Jason Wong
Published 8 hours ago in Agility Beta

Welcome to agility

Every team in the world is unique, and so   Atlassian believes   that each and every team's best way of working  needs to  be molded to their unique circumstances  – ...

180 views 3 12
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot