[thelist] javascript syntax

Feingold Josh S Josh.S.Feingold at irs.gov
Thu May 9 14:40:00 CDT 2002

[ Picked text/plain from multipart/alternative ]
> if (navigator.platform=='MacPPC'){
> window.location='NS/index.htm';}

> I feel like a safe cracker =9-)

Keep in mind that there are multiple Mac platform's that could be returned.
If you are testing for all Mac platform's you probably want to use a regular
expression search on the navigator.platform.


More information about the thelist mailing list