Interface elements for jQuery - Documentation - Tooltip

ToolTip

Create tooltips for elements that have a 'title' attribute and accepts as parameter an object of pairs kek/values.

example

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');

Download now

Interface 1.2 146kb (source files, compressed files)
jQuery 1.1.2 19 kb

Linux tutorials · Dedicated servers