Well I mixed the:
PHP Code:
onmouseover="doTooltip(event,0)" onmouseout="hideTip()">
with the:
PHP Code:
if (ie4||ns4||ns6){
for (i=0;i<sitems.length;i++){
if (sitems[i][1])
document.write('<a href="'+sitems[i][1]+'" target="'+target+'">')
document.write(sitems[i][0])
if (sitems[i][1])
document.write('</a>')
document.write('<br>\n')
}
}
and got this:
PHP Code:
if (ie4||ns4||ns6){
for (i=0;i<sitems.length;i++){
if (sitems[i][1])
document.write('<a href="'+sitems[i][1]+'" onmouseover="'+onmouseover+'" onmouseout="'+onmouseout+'">')
document.write(sitems[i][0])
if (sitems[i][1])
document.write('</a>')
document.write('<br>\n')
}
}
so that the links look like this:
PHP Code:
sitems[0]=["<big><font face='Arial'>Site Menu</font></big>", "#", "doTooltip(event,0)", "hideTip()"]
But it didn't work.
http://iloveruby.freehostia.com/tester.htm
Why? Should I post this somewhere else?
Bookmarks