Basic overview
To see the tooltip, place the cursor on the link below.
Tooltips may be attached to any element. When you hover the cursor over the element, attribute
title
is displayed in a small window next to the item.<span class="tooltip" title="_HINT TEXT_">...</span>
Additional parameters
data-tooltip-classes="..."
- additional classes of the tooltip (classes are separated by space!).data-tooltip-position="..."
- tooltip location (top, right, bottom и left)data-tooltip-content="..."
- JS function is added, which returns tooltip contentdata-tooltip-element="..."
- is set by#id
or.class
of the element. Its HTML will be used as the tooltip content.