//声明 t = 1

var t = 10;

function openwin() {

  t -= 1;

  if(t==0){

    location.href='index2.html';

  }

  setTimeout("openwin()", 300);

}

openwin();

相关文章: