View Full Version : Onmouseover does not appear in IE
Please help,
I have used a javascript code in which images with text should appear. The onmouseover function in this attached file does work in Frontpage2000 but not in IE.
Can I please get some help?
Thanks.
Ton
glenngv
10-18-2002, 07:37 AM
after putting alerts here and there, i have pruned down the error in the line in bold:
} else if (ie4||ie5||ns5) {
var tip = startStr + messages[num][0] + midStr + '<span style="font-family:' + tipFontFamily + '; font-size:' + tipFontSize + '; color:' + curFontColor + ';">' + messages[num][1] + '</span>' + endStr;
tipcss.backgroundColor = curBgColor;
tooltip.innerHTML = tip;
}
it works with NS6 and Mozilla 1.0 but in my IE5.5 it throws Unknown runtime error.
the exact problem is in the value of tip. but i don't know what it is.
if i put a simple text in innerHTML, it works fine:
tooltip.innerHTML = "<font>test</font>"
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.