Hi,
by using the Mozilla's Javascript Console I realized what was the error:
1st in you Html code you have to call the function with the parameter between quotes like this:
Code:
<a href="#" onmouseover="onmainlinkinfobox('malo') ...etc.
And use getElementById to access the element properties like this:
PHP Code:
function onmainlinkinfobox(idx){
div = document.getElementById(idx).style;
div.visibility = 'visible';
//idx.style.visibility='visible';
}
function outmainlinkinfobox(idx){
div = document.getElementById(idx).style;
div.visibility='hidden';
//idx.style.visibility='hidden';
}
I testes it on Konqueror 3.1.2 and Mozilla 1.4
HTH
Bookmarks