[thelist] crossbrowser issue

Peter-Paul Koch gassinaumasis at hotmail.com
Sun Jan 5 10:59:00 CST 2003

>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++)
>document.links[i].style.fontWeight = 'bold';

No. Netscape 4 and Opera 6 and before simply don't support this changing of
styles. Neither does IE5Mac support the changing of font styles, BTW.

What you've done is the best you can do. If it doesn't work, Too Bad.

ppk, freelance web developer
Interaction, copywriting, JavaScript, integration
Column "Keep it Simple": http://www.digital-web.com/columns/keepitsimple/
Nieuw: Jaaroverzicht 2002

Help STOP SPAM: Try the new MSN 8 and get 2 months FREE*

More information about the thelist mailing list