/**/ /*** 获取IE浏览器版本 ** collected on 2008-02-16*/ function getIEVersonNumber() ... { var ua = navigator.userAgent; var msieOffset = ua.indexOf("MSIE "); if(msieOffset < 0) ...{ return 0; } return parseFloat(ua.substring(msieOffset + 5, ua.indexOf(";", msieOffset))); }