Detect IE7 7.0.5730.11 vs IE7 7.0.6000.16609

  • Thread starter Thread starter clintonG
  • Start date Start date
C

clintonG

Very weird page display going on.

//XP Pro IE 7.0.5730.11
Page displays as designed

//Vista IE 7.0.6000.16609
Page is FUBAR

BrowserCapabilities returns 0 for MinorVersion as expected. How would you
detect the third octet (6000) when using IE7 in Vista? I'd detect Vista
itself but that would lead to unreliability as its called WinNT (as I
recall) so I'll build yet another stylesheet if someone can give me a tip on
how to grab that octet.
 
I know how to use BrowserCapabilities and its crippleware but I have been
reminded of an acceptable strategy.

Its rather safe with IE8 in early testing at this point to proceed with
development concluding IE7 will never be released on another platform than
XP Pro and Vista.

Since BrowserCapabilities is crippleware and does not tell me anything
except MajorVersion (7), MinorVersion (7.0) and Platform (WinNT) I can
concatenate MajorVersion and Platform to create a unique string (WinNT7)
that I can use to load a stylesheet to work around the latest release of the
worst software program developed in the history of computer science.

But thanks for your referral Andrew. It will always be there for others too
even if I personally no longer go to 4Guys because their pages cannot be
read without horizontal scroll because Scott too has pages that are all
FUBAR.

But I want to fix mine and don't have near as many as he so I might have a
shot at it while he is overwhelmed and has chosen to leave all his stuff
broken.
 
clintonG said:
Its rather safe with IE8 in early testing at this point to proceed
with development concluding IE7 will never be released on another
platform than XP Pro and Vista.

And Windows Server 2003 (FYI: 7.0.5730.11), and WS2008 (7.0.6001.16510 in
the beta 3 version).
Since BrowserCapabilities is crippleware and does not tell me anything
except MajorVersion (7), MinorVersion (7.0) and Platform (WinNT) I can
concatenate MajorVersion and Platform to create a unique string
(WinNT7) that I can use to load a stylesheet to work around the
latest release of the worst software program developed in the history
of computer science.

Are you aware of being able to tell IE things like

<!--[if lte IE 6]>
<style type="text/css">
..menuList {margin-left: 0px;}
..leftBox {margin-left: 16px;}
..logo {margin-left: 20px;}
</style>
<![endif]-->

(or insert a stylesheet) so that you don't need to do server-side browser
detection?
But thanks for your referral Andrew. It will always be there for
others too even if I personally no longer go to 4Guys because their
pages cannot be read without horizontal scroll because Scott too has
pages that are all FUBAR.

Hmmm.... works fine from here in Firefox.

HTH

Andrew
 
Back
Top