[thelist] javascript syntax

Howard Cheng howcheng at ix.netcom.com
Thu May 9 11:34:11 CDT 2002


Your semicolon is in the wrong place. Try:

if (navigator.platform=='mac'){window.location='NS/index.htm';}

At 05:23 PM 5/9/2002 +0100, dn at dittodesign.co.uk wrote:
>Im trying to redirect Mac users and I just cannot get
>my bit of java working -
>
>if (navigator.platform=='mac'){window.location='NS/index.htm'};

::::::::::::::::::::::
Howard Cheng
howcheng at ix.netcom.com
AIM: bennyphoebe
ICQ: 47319315




More information about the thelist mailing list