[thelist] crossbrowser issue

Mikke listor at fororten.com
Sat Jan 4 03:57:01 CST 2003


Hi.

Not so really good at cross browser scripting, is it possible to make
this script work in old (4.x) netscape and Opera? It is a script to make
the link for the current page bold.

<script type="text/javascript">
<!--
function makeMenuText()
{
var nuvarandeSida = document.location;
for(i=0 ; i<document.links.length ; i++)
{
if(document.links[i].href==nuvarandeSida)
{
document.links[i].style.fontWeight = 'bold';
}
}
}
-->
</script>

I call it with an onload event.

regards
/mikke




More information about the thelist mailing list