html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
提示消息 - ThinkPHPbody { font: 75% Arail; text-align: center; }
#notice { width: 300px; background: #FFF; border: 1px solid #BBB; background: #EEE; padding: 3px;
position: absolute; left: 50%; top: 50%; margin-left: -155px; margin-top: -100px; }
#notice div { background: #FFF; padding: 30px 0 20px; font-size: 1.2em; font-weight:bold }
#notice p { background: #FFF; margin: 0; padding: 0 0 20px; }
a { color: #f00} a:hover { text-decoration: none; }
ok
×
在( <?php echo($waitSecond); ?> )秒后自动跳转,或直接点击 '">这里 跳转
停止
var seco=document.getElementByIdx_x("sec");
var time=<?php echo($waitSecond); ?>;
var tt=setInterval(function(){
time--;
seco.innerHTML=time;
if(time<=0){
window.location='<?php echo($jumpUrl); ?>'
return;
}
}, 1000);
function stop(obj){
clearInterval(tt);
obj.style.display="none";
}