[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++)
>{
>if(document.links[i].href==nuvarandeSida)
>{
>document.links[i].style.fontWeight = 'bold';
>}
>}
>}
>-->
></script>

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
http://www.xs4all.nl/~ppk/
Column "Keep it Simple": http://www.digital-web.com/columns/keepitsimple/
Nieuw: Jaaroverzicht 2002
http://www.naarvoren.nl/artikel/jaaroverzicht_2002.html
--------------------------------------------------


_________________________________________________________________
Help STOP SPAM: Try the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail




More information about the thelist mailing list