You're still missing the point. You'll never be able to securely
detect a browser version with $.support, it's not meant for that. In
your case you still need *browser* detection (unless you figure out a
way of testing if transparent PNGs are supported or not):

if ($.browser.msie && $.browser.version == 6){
 // apply pngfix
}

Read more about feature detection and you'll understand what I mean:
http://docs.jquery.com/Utilities/jQuery.support
http://blog.clintecker.com/post/66129101/as-of-5985-jquery-advocates-feature-detection-over

cheers,
- ricardo

On Apr 5, 1:21 pm, Joe McCann <joseph.is...@gmail.com> wrote:
> I've tried multiple combinations of the $.support method's properties
> and have had zero success with properly detecting IE6.  Does IE6 have
> a specific feature that IE7 and IE8 do not have?
>
> On Apr 5, 6:21 am, akzhan <akzhan.abdu...@gmail.com> wrote:
>
> > Also I suppose that jQuery.support can add key handling browser mode.
>
> > WebKit, Mozilla and IE works different on key events.
>
> > On Apr 5, 8:45 am, Ricardo <ricardob...@gmail.com> wrote:
>
> > > jQuery.support is for feature detection. The whole point of it is to
> > > avoid browser detection - which is still available via jQuery.browser.
> > > Instead of sniffing the browser and serving fixes according to
> > > previous knowledge about it's flaws, you check for correct
> > > implementations of the exact features you need, browser agnostic.
>
> > > cheers,
> > > - ricardo
>
> > > On Apr 4, 1:43 pm, Joe <joseph.is...@gmail.com> wrote:
>
> > > > I'm all for migrating to the jQuery.support() utility method, but
> > > > there is not definitive test available to detect IE6 specifically.  Do
> > > > we have a consensus on this yet?

Reply via email to