views:

431

answers:

3

I am looking for a lightweight jQuery script for tooltips that is lightweight and can be easily used with image maps... Ideally it would automatically take the 'title' of each the area tag to function as a tooltip. The reason this is an issue is I have hundreds of areas (its a world map) and a line of code for each tooltip will soon add up in file size.

qTip can do this... but its 38kb... which is more than even jQuery itself. Any recommendations?

A: 

GLT by Robert Nyman is more that decent. Also it doesn't require jQuery. It is 6kb minified and presumably much smaller gziped.

http://www.robertnyman.com/glt/

Silviu Postavaru
As Mark asked for a jQuery tooltip plugin, I don't tihnk this answer is very useful.
BenTheDesigner
+1  A: 

I use the imaginatively-titled "jQuery Tooltip": demo here. Works well with image maps, and is easy to customize with CSS.

(Coincidentally, I tried qTip with image maps and found a weird bug when combined with the Map Hilight plugin).

DisgruntledGoat
Phew... I am using the map Hilight plugin too :D... you probably saved me a lot of time
Mark
@Mark: If you're interested, this is what I built with it - http://www.simpsoncrazy.com/characters/poster
DisgruntledGoat
+3  A: 

Not sure if it's exactly what you're looking for but check out Tipsy, 8kb uncompressed : http://onehackoranother.com/projects/jquery/tipsy/

Sabazou
I really like the look of this one... and its very light weight
Mark
@Mark, so you might consider accepting the answer... =)
David Thomas