McogEsteban
Programmer
hi everyboy, i have this strange problem:
this script erads values from a xml file, i'm creating a table with links and for each link i add a tool tip (onMouseOver,onMoseOut), the problem is that i see the same tool tip for every link, why is this happening?
example:
<link>
<name><description>xpto</description>
</link>
<link>
<name><description>zbrrrrr</description>
</link>
in the table when i move the mouse over the links i see the same tool tip for link xpto and zbrrrrr.
what i'm doing wrong?
thanks.
for(i=1;i<=step;i++)
{
((i%2) == 0) ? bcolor="#aa9000":bcolor="#bb7000";
desc = xmlObj.childNodes.childNodes[1].firstChild.text;
document.write('<td bgcolor=' + bcolor + '><a href="#" onMouseOver=popup(desc,cor); onMouseOut=kill()><p align=center>' + xmlObj.childNodes.childNodes[1].firstChild.text + '</a></td>');
}
this script erads values from a xml file, i'm creating a table with links and for each link i add a tool tip (onMouseOver,onMoseOut), the problem is that i see the same tool tip for every link, why is this happening?
example:
<link>
<name><description>xpto</description>
</link>
<link>
<name><description>zbrrrrr</description>
</link>
in the table when i move the mouse over the links i see the same tool tip for link xpto and zbrrrrr.
what i'm doing wrong?
thanks.
for(i=1;i<=step;i++)
{
((i%2) == 0) ? bcolor="#aa9000":bcolor="#bb7000";
desc = xmlObj.childNodes.childNodes[1].firstChild.text;
document.write('<td bgcolor=' + bcolor + '><a href="#" onMouseOver=popup(desc,cor); onMouseOut=kill()><p align=center>' + xmlObj.childNodes.childNodes[1].firstChild.text + '</a></td>');
}