tool tip question
tool tip question
I'm working off the Using bodyHandler to display footnotes in the
tooltip Demo (#2).
http://jquery.bassistance.de/tooltip/demo/
My issue is if you have more then 1 instance of the tooltip on a page
it shows the first tool tip div on the over..
How do I correct his?
[code]
$("#foottip1 a").tooltip({
bodyHandler: function() {
return $($(this).attr("href")).html();
},
showURL: false
});
$("#foottip2 a").tooltip({
bodyHandler: function() {
return $($(this).attr("href")).html();
},
showURL: false
});
[/code]
[code]
<span id="foottip1">
<a href="#footnote" class="pop"><span>Help</span></
a>
<div id="footnote">Tip 1</div>
</span>
<span id="foottip2">
<a href="#footnote" class="pop"><span>Help</span></
a>
<div id="footnote">Tip2 </div>
</span>
[/code]