<!--[if gte IE 6]>
<script>alert("6.0")</script>
<![endif]-->http://www.dithered.com/css_filters/html_only/conditional_comments_ie.html
<script>alert("6.0")</script>
<![endif]-->http://www.dithered.com/css_filters/html_only/conditional_comments_ie.html
<SCRIPT>
ieVersion = oClientCaps.getComponentVersion("{89820200-ECBD-11CF-8B85-00AA005B4383}",
"ComponentID");
document.write ("您的Internet Exploret版本是:"+ieVersion)
</SCRIPT>
<SCRIPT>
ieVersion = oClientCaps.getComponentVersion("{89820200-ECBD-11CF-8B85-00AA005B4383}",
"ComponentID");
var ieV=ieVersion.substr(0,1);
if(ieV=="6")alert("ie6.0以上")
</SCRIPT>
<!--
document.write("您的浏览器版本是:<br>"+navigator.appVersion);
//-->
</script>