SpanTip

^do( SpanTip, text, tooltip )^

Type: Macro

Purpose: Adds text with tooltip

The SpanTip macro marks text that will show a Bootstrap tooltip on hover. You set its styling in the Styles Dash > Macros Widget.

Unlike SpanDef, SpanTip can handle text styles. SpanTip is the second of a triple of BoxPress tooltip-type in-line addenda valets. In order of increasing display richness (and decreasing subtleness), these are —

The BoxPress triple of tooltip-type macros.
MacroStylingHeadingLinks
SpanDefNONONO
SpanTipYESNONO
SpanPopYESYESYES

The SpanTip tooltip is perfect for comments that require text styling. It actually can show links, but you cannot click them since the balloon is hover-dependent. For that, use SpanPop.

Hover below to reveal BoxPress code

<a class="b-tip" href="#" data-toggle="tooltip" data-placement="auto bottom" data-html="true" title=‘$2’>$1</a>

SpanTip sample

This is the markup that is rendered below

Here is an ^do(SpanTip, "example", "Hello. I am a SpanTip Bootstrap tooltip. As you can see, I can display styled text. Moreover, this here is a link, but you cannot reach it in time to click it. Use SpanPop for that.")^ of the SpanTip macro.

Here is an example of the SpanTip macro.