Hi,
Can anyone help me with this tooltip problem. I’m trying to use the same tooltip but to vary the text that apears inside the tooltip according to what you hover over. I thought I could just have a list of paragraph elements in the html with different ids which I could call when needed. My javascript is :
function toolpoint_2(f)
{
var myNumber2 = document.getElementById(f.id.replace(/thumb_/,”tool”));
tooltip.show(myNumber2, 200);
}
So when you hover over a thumbnail with an id ‘thumb_2_2’, it gets changed to tool2_2, which is the name of the corresponding paragraph element :
<p id=”tool2_2″ style=”display: none;”>
testing number 2 thumbnail
</p>
But I guess it’s not that simple because all that happens is the text in the tooltip reads :
[objectHTMLParagraphElement]
Very grateful for any help.