标签:
判断浏览器ie6版本并跳转显示提示页面ie6.html
<script type="text/javascript">
ieGo();
function ieGo(){
var ie = !-[1,];
if(ie == true) {
var ua = navigator.userAgent.toLowerCase();
var version = parseInt(ua.match(/msie ([\d.]+)/)[1]);
if(version <= 6) {
location.href=‘ie6.html‘;
}
}
}
</script>
标签:
原文地址:http://www.cnblogs.com/xiechao52/p/4643190.html