function compatibleIE8(){
var browser = navigator.appName;
var
b_version = navigator.appVersion;
if(browser == "Microsoft Internet
Explorer"){
var version = b_version.split(";")[1].replace(/[
]/g,"");
if(version == "MSIE8.0"){
.........
}
}
}
2.
原文:http://www.cnblogs.com/Wen-yu-jing/p/3779640.html