Javascript 十移跳转页面

<srcipty>

var t = 10;

function openwin(){

t -= 1;

if( t==0){

location.href='prototype.html';

}

setTimeout("openwin()",1000);

}

openwin();

</script>

posted @ 2018-12-06 16:24  Jamy  阅读(203)  评论(0)    收藏  举报