vidasp — 2010-07-22T09:52:22-04:00 — #1
Then we have the DOM interfaces... the most important object that applies those interfaces is the document object...
But also, there are the Browser Objects: window, location, screen, history, navigator.
vidasp — 2010-07-22T21:14:34-04:00 — #2
Well, I hope you are talking about IE6... I'll be sure to check out IE8 compatibility, that's the only IE version I care about.
felgall — 2010-07-22T21:56:24-04:00 — #3
No I meant ALL versions of IE store much of the browser info in different locations from where other browsers store it. There is no standard to tell IE that their locations are wrong.
You just need to use feature sensing to detect which of the three places actually holds a value and use the one from there.
felgall — 2010-07-22T15:44:53-04:00 — #4
That's right - they don't have a written standard anywhere.
For the most part though all browsers except for Internet Explorer set them up the same way as defined in the original Mozilla browser.
Since Internet Explorer uses two alternatives depending on whether a strict or transitional doctype is used that means you usually only have two places to look with code to be used only on your own site and three places to look if you are writing code to be shared with other sites.