[jQuery] Re: Browser.Version for IE7 Vista returned as 6

2008-02-24 Thread MichaelEvangelista
@Jeffrey: thank you thank you - that did it! Hopefully this helps some others, too... I found many more instances of this question than possible answers to it when searching. Thanks again! On Feb 23, 6:01 pm, "Jeffrey Kretz" <[EMAIL PROTECTED]> wrote: > Try this: > > $.browser.msie6 = >

[jQuery] Re: Browser.Version for IE7 Vista returned as 6

2008-02-23 Thread Jeffrey Kretz
Try this: $.browser.msie6 = $.browser.msie && /MSIE 6\.0/i.test(window.navigator.userAgent) && !/MSIE 7\.0/i.test(window.navigator.userAgent); So far as I know the problem with Vista IE7 is that it contains both strings. So actual IE6 would NOT contain the MSIE 7.0 st