Create tooltips for elements that have a 'title' attribute and accepts as parameter an object of pairs kek/values.
Options:
| className | string | optional | the class applied to the tootip |
| position | string [top|left|bottom|right|mouse] | optional | tells where to display the tooltip relative to element or at mouse position |
| delay | integer | optional | time in miliseconds to fade de tooltip |
| onShow | function | optional | callback triggered when the tooltip is displayed |
| onHide | function | optional | callback triggered when the tooltip is hidden |
Code sample:
$('a').ToolTip('inputsTooltip');
$('input').ToolTip('linksTooltip');