The Tree of Widsdom

智慧の樹

SpanDef

^do( SpanDef, text, tooltip )^

Type: Macro

Purpose: Adds text with tooltip

The SpanDef macro marks text as a word that will define itself with a tool-tip.

Hover below to reveal BoxPress code

<span class="span-def" title="$2" style="cursor:help">$1</span>

SpanDef sample

This is the markup that is rendered below

Here is an ^do(SpanDef, "example", "This is a pop-up SpanDef tool-tip")^ of the SpanDef macro.

Here is an example of the SpanDef macro.