jQuery.fn.evolutionTip
This plugin renders an intelligently-positioned tool tip over an element when the element is hovered. The tip's content is read from a custom data attribute, falling back to title
and then alt
.
Usage
Register an element to display tool tips when hovered
$('selector').evolutionTip(options);
Options
-
template
: template defining the markup of an individual tip.- default:
'<div class="tip"><%= content %></div>'
- default:
-
attribute
: Data attribute to prefer overtitle
andalt
.- default:
'tip'
- default: