I've been trying jQuery Tooltip from Bootstrap, which requires quite a few extra attributes:
<a rel="tooltip" data-placement="right" data-original-title="Hello" href="#">Tooltip Example</a>
There seems to be a bit of a problem with this though, because I use rel="nofollow" on quite a few URLs I want to use tooltip on, and it doesn't let me use both at once.
Even more important, I want an elegant fallback for users that don't have JavaScript enabled browsers.
I want to know if there's a way I can have jQuery Tooltip treat title=""
attribute as data-original-title
, and have a default preset for data-placement
.
Fiddle: http://jsfiddle.net/FhGT3/