simplest is to test for
<@HTTPATTRIBUTE NAME=USER_AGENT> contains "MSIE" then its IE
<@HTTPATTRIBUTE NAME=USER_AGENT> contains "SAFARI" then its SAFARI
<@HTTPATTRIBUTE NAME=USER_AGENT> contains "firefox" then its firefox
Ben
On Apr 2, 2008, at 2:55 PM, Dan Stein wrote:
Question is can I do the same for Safari and FireFox
--
Dan Stein
FileMaker 7 Certified Developer
Digital Software Solutions
799 Evergreen Circle
Telford PA 18969
Land: 215-799-0192
Cell: 610-256-2843
Fax 215-799-0192 ( Call 1st)
FMP, WiTango, EDI,SQL 2000, MySQL, CWP
[EMAIL PROTECTED]
www.dss-db.com
"When you are born, you cry and those who love you rejoice. And
if you
live your life as you should, when you die, you rejoice and those who
love you cry."
From: Ben Johansen <[EMAIL PROTECTED]>
Reply-To: "[email protected]" <[email protected]>
Date: Wed, 2 Apr 2008 13:57:20 -0700
To: "[email protected]" <[email protected]>
Subject: Re: Witango-Talk: Browser Detect Safar
Microsoft has embed this little conditional comments, i have placed
this in headers and it lets me bring in css specific to css
example:
<!--[if lt IE 7.]>
<link href="/css/IE6.css" rel="stylesheet" type="text/css">
<![endif]-->
here is link
http://msdn2.microsoft.com/en-us/library/ms537512.aspx
Ben
On Apr 2, 2008, at 1:23 PM, Dan Stein wrote:
What is the simplest JS browser detect to use ( or Witango) so I
can determine Safari 2x vs. 3x which requires different style
sheets and of course IE 6 which can have the same issues.
Witango gives me back this
Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.13)
Gecko/20080311 Firefox/2.0.0.13
Unless someone already has code to parse that down to something
simpler I think JS makes more sense.
--
Dan Stein
FileMaker 7 Certified Developer
Digital Software Solutions
799 Evergreen Circle
Telford PA 18969
Land: 215-799-0192
Cell: 610-256-2843
Fax 215-799-0192 ( Call 1st)
FMP, WiTango, EDI,SQL 2000, MySQL, CWP
[EMAIL PROTECTED]
www.dss-db.com <http://www.dss-db.com>
"When you are born, you cry and those who love you rejoice.
And if you
live your life as you should, when you die, you rejoice and those
who
love you cry."
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf