首页 > 代码库 > 10s后自动跳转

10s后自动跳转

<div class="jf_register">
	<h2>您好,欢迎光临<fmt:message key="b2cShowName"/>!<a class="blue" href="http://www.mamicode.com//LoginRegist_turnToLogin">请登录</a></h2>
</div>
<div class="jf_register_banner">注册成功</div>
<div class="jf_password">
<ul>
<li> 感谢您选择<fmt:message key="b2cShowName"/>,</li><li>您的账号<span>
<font color=red><strong>${param.bussinessId}</strong></font></span>已经注册成功。 </li>
<li>系统将会在<strong id="endtime"></strong>秒后跳转到登录页!
        
<a class="blue" href="http://www.mamicode.com//LoginRegist_turnToLogin">直接登录</a></li>
</ul>
</div>
<div class="jf_loginfooter"><fmt:message key="copyright"/> 版权所有 | 
<a href="http://www.mamicode.com/Login_loginHelpTips">联系我们</a><fmt:message key="copyrightIcp"/></div>

<script type="text/javascript">
var i = 10;
function remainTime(){
	if(i==0){
		location.href=http://www.mamicode.com/‘‘;"remainTime()",1000);
}
remainTime();
</script>

  

10s后自动跳转