IE 5.2< detection
- Started
- Last post
- 2 Responses
- versa
anybody have a tried and true method of detecting specific versions of IE.....i normally just just object detection since most stuff i worry about is IE 5.5 +, but i need to check for 5.2< and my old method is failing and throwing errors. My old method is this:
// Browser Check and Redirect
var fullversion=0;
if (navigator.appVersion.indexOf("M... -1){
var temp=navigator.appVersion.split...
var fullversion=parseFloat(temp[1]); //NON IE browser will return 0
}var browser_type=navigator.appName;
var browser_version=parseInt(navigat...if ((fullversion < 5.5) && (browser_type == "Microsoft Internet Explorer"))
{
window.location.replace("http...
}**************
again tho, this is giving me errors in 5.2 and 5.0...thx alot for any help !
- versa0
b
u
m
p
- fugged0
check this:
http://webreference.com/tools/br…damn robust broswer/version detection
(view the page source...)