This page (revision-1) was last changed on 2019-12-18 09:13 by UnknownAuthor

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 1 added 54 lines
The __[TooltipPlugin]__ (aka __Tip__) is a [NeWikiPlugin] that provides a tooltip for a span of text when the user hovers over it.
<p>
This is actually a simplification of the old [TooltipPlugin|https://www.ecyrd.com/JSPWiki/wiki/TooltipPlugin], a contributed plugin on jspwiki.org. All it does is add a tooltip using the existing HTML 'title' attribute to a span of text. Simple. The body of the plugin is used as the span content, using a '|' character as delimiter between the span text (before the bar) and the tooltip text (after the bar) so there are no parameters.
!! Parameters
None.
!! Example
{{{
If you hover over the [{Tip span text|This is the tool tip}] you'll see the tool tip.
}}}
If you hover over the [{Tip span text|This is the tool tip}] you'll see the tool tip.
----
!! Perverse Examples
When the content contains __no__ vertical bar delimiter:
{{{
If you hover over the [{Tip span text}] you'll see no change. In fact, it's just plain text, no span.
}}}
If you hover over the [{Tip span text}] you'll see no change. In fact, it's just plain text, no span.
----
When the content contains multiple vertical bars:
{{{
If you hover over the [{Tip span text|This is |the tool tip}] you'll see the split at the first vertical bar.
}}}
If you hover over the [{Tip span text|This is |the tool tip}] you'll see the split at the first vertical bar.
----
When the content contains a single quote:
{{{
If you hover over the [{Tip span' text|This is the tool' tip}] you'll see the tool tip.
}}}
If you hover over the [{Tip span' text|This is the tool' tip}] you'll see the tool tip.
----
When the content contains a double quote:
{{{
If you hover over the [{Tip span" text|This is the tool" tip}] you'll see the tool tip.
}}}
If you hover over the [{Tip span" text|This is the tool" tip}] you'll see the tool tip.
----
[{Tag NeWikiPlugin}]