▨ 标签《浏览器》下的文章:
日期:2012-3-6  |  作者: paul  |  分类:js  |  围观群众49986  |  参与讨论0



if (window.navigator.userAgent.indexOf("MSIE")>=1)
{
//如果浏览器为IE
if (document.readyState=="complete"){
  move('up');
}else{
  document.onreadystatechange=function(){
if(document.readyState=="complete")move('up');
}
}
}else if(window.navigator.userAgent.indexOf("Firefox")>=1)
{
//如果浏览器为Firefox
move('up');
}

Copyright © 2010 - 2025 工作日志 | QQ:285582676 | | 京ICP备15035559号-3

返回顶部