MMMHUHU
<script type="text/javascript"> //设定倒数秒数 var t = 8;
//显示倒数秒数 function showTime(){
t -= 1;
document.getElementById('div1').innerHTML='<h5 style="color:#9a9a9a;">页面将在'+t+'秒内跳转到登录页。</h5>';
if(t==0){
location.href='login.htm';
}
//每秒执行一次,showTime() setTimeout("showTime()",1000);
}
//执行showTime() showTime();
</script>