Difference between revisions of "Tooltips"
From Tweeki
| Line 2: | Line 2: | ||
To use Bootstrap's [http://getbootstrap.com/javascript/#tooltips tooltips] you need to set <code>$wgTweekiSkinUseTooltips</code> to <code>true</code> and use the <code>data-toggle="tooltip"</code> attribute: | To use Bootstrap's [http://getbootstrap.com/javascript/#tooltips tooltips] you need to set <code>$wgTweekiSkinUseTooltips</code> to <code>true</code> and use the <code>data-toggle="tooltip"</code> attribute: | ||
| + | |||
{| class="table table-bordered" | {| class="table table-bordered" | ||
Revision as of 14:52, 8 November 2016
To use Bootstrap's tooltips you need to set $wgTweekiSkinUseTooltips to true and use the data-toggle="tooltip" attribute:
| Markup | Result |
|---|---|
<btn data-toggle="tooltip" title="tooltip"> Tooltip Button </btn> |
|
<span data-toggle="tooltip" title="tooltip"> Tooltip Span </span> |
Tooltip Span |