|
|
Q258 When attempting to detect for Internet Explorer 3 using parseFloat(navigator.appVersion) it always returns 2, why, and what can I do about it?
irt.org | Knowledge Base | JavaScript | Number | Q258 [ previous next ] Q258 When attempting to detect for Internet Explorer 3 using parseFloat(navigator.appVersion) it always returns 2, why, and what can I do about it?When Microsoft released Internet Explorer 3, they wanted it to appear as if it was the same version as being used by the then comparable Netscape Navigator 2. This is why Internet Explorer 3 fakes version 2 of Netscape Navigator. To check for Internet Explorer 3 use:
However, if all your checking for is to see whether the browser supports the JavaScript image object then use the following instead:
|
-- div -->
|