//声明 t = 1
var t = 10;
function openwin() {
t -= 1;
if(t==0){
location.href='index2.html';
}
setTimeout("openwin()", 300);
}
openwin();
//声明 t = 1
var t = 10;
function openwin() {
t -= 1;
if(t==0){
location.href='index2.html';
}
setTimeout("openwin()", 300);
}
openwin();
转载于:https://www.cnblogs.com/JamyWong/p/10522713.html