js5秒跳转

发布:2011-08-24 10:24   点击985次   评论:0

<span id="jumpSec">5</span>

<script type="text/javascript">    
function jumpLogin(){       
 var idSec = getElmID(''jumpSec'');
 nSec = idSec.innerHTML;
 if(nSec>0) { idSec.innerHTML = nSec-1; }
 if(nSec<=0) { location.href=''<?php echo $gourl; ?>''; }      
 else { setTimeout("jumpLogin()",1000); }     
} setTimeout("jumpLogin()",1000);   
</script>

关于 GitHub 导航 部门 反馈

提示:`/home.php`入口数据仅为演示功能,不构成任何交易凭证,也不承担相关风险和责任!

Copyright © 2011-2018 xxxxx.com All rights reserved.

Run:2.619/32.326(ms); 7(sql)/2.875(MB); comm:news/detail; Upd:2025-01-11 04:59:56