[jQuery] browser sniff?

[jQuery] browser sniff?

How did you get on here Robb? I am interested in something along these lines
as well...
Matthew
-----Original Message-----
From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On
Behalf Of Robb Irrgang
Sent: Thursday, 20 April 2006 9:20 a.m.
To: jQuery Discussion.
Subject: Re: [jQuery] browser sniff?
you could probably catch any browser that doesn't support regexps
with a simple test and then automatically lock them out of things...
since they'd automatically wouldn't meet your criteria.
my main concern is that i need to know exactly what they're running
since of stupid CSS/JS inconsistencies across browsers. I'm working
on a scrollbar replacement (to be released in the next week or two,
MIT license) and i have to do things like:
var w=(o7up)?(parseInt(cs.width)):parseInt(cs.width) +parseInt
(cs.paddingLeft)+parseInt(cs.paddingRight);
if(sf&&sh>h)
    w+=15;