[thelist] javascript syntax

dn at dittodesign.co.uk dn at dittodesign.co.uk
Thu May 9 12:59:01 CDT 2002


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

doesn't work neither does

top.location.href = 'NS/index.htm';

I've tried both in a variety of combinations without much luck.

Darren

----- Original Message -----
From: "Howard Cheng" <howcheng at ix.netcom.com>
To: <thelist at lists.evolt.org>
Sent: Thursday, May 09, 2002 5:44 PM
Subject: Re: [thelist] javascript syntax


> 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
>
> --
> For unsubscribe and other options, including
> the Tip Harvester and archive of thelist go to:
> http://lists.evolt.org Workers of the Web, evolt !




More information about the thelist mailing list