views:

57

answers:

2

I am searching for a Tooltip plugin/library for JQuery. It should be able to automaticlly position tooltips, like TipTip, and also support HTML content for the tips.

TipTip does fullfill both conditions, but:

Added HTML support with Tip Tip. You can now add HTML into the Title attribute (though this is not recommended if you want strictly valid code).

A: 

I believe this one does. For instance, this demo shows an image. You could easily have a bodyHandler that retrieves the HTML from an attribute on the element. For instance

<a href="whatever" data-tooltip="This is a <strong>marked up</strong> tooltip">foo</a>

That's perfectly valid HTML, and the bodyHandler would look something like

return this.attr("data-tooltip"));
T.J. Crowder
+1  A: 

http://flowplayer.org/tools/demos/tooltip/any-html.html

I just found this. Maybe it'll work for you

ForerMedia
I tried seveleral plugins and this one was the most flexible and easiest to use.
Ermin
Glad I could help. It can also be a good looking plugin, so will support your design of UX.
ForerMedia