爷的眼睛闪亮
insideDotNet En_summerGarden

<script type="text/javascript">
var i = 5;
var intervalid;
intervalid = setInterval("fun()", 1000);
function fun() {
if (i == 0) {
window.location.href = "<%=basePath%>home";
clearInterval(intervalid);
}
document.getElementById("mes").innerHTML = i;
i--;
}
</script>

<span id="littleTip">将在(<strong id="mes">5</strong>)秒钟后返回首页!</span></div>

posted on 2017-02-25 11:08  爷的眼睛闪亮  阅读(203)  评论(0编辑  收藏  举报