Thottbot > Forums > Thottbot > Powered by Thottbot > Thott toolti...
NEW! Wrath of the Lich King! (August 29)   NEW! Project Lore 7.4
One thing though, is that i can't get the tooltip to work if i change the colour of the link (it's explained a little more over at the post) Maybe someone will be able to explain how to get that to work too.

If you have something like:

<a href='http://thottbot.com/i12345'><font color='#F00'>Item</font></a>

it won't work, because the <font> tag doesn't have a tooltip, and for performance reasons, it doesn't traverse the DOM looking at every parent node every time something is moused over.

You can work around this by changing the color using CSS, e.g.:

<style>
.red { color: #F00 }
</style>
<a href='http://thottbot.com/i12345' class='red'>Item</a>

or you can work around this by applying a tooltip to the font tag.  The syntax to mimic the link tooltips is '+!<url>/T', e.g.:

<a href='http://thottbot.com/i12345'><font color='#F00' tt='!=http://thottbot.com/i12345/T'>Item</font></a>

Best regards,
Thott

BackTop
 
Created by Thott - Thottbot 3.70 - Feedback