页面跳转的实用例子

1、在本页弹出

setTimeout("window.location.href='http://www.baidu.com'", 6000);

2、在另一页弹出

setTimeout("window.open('http://www.baidu.com','_blank')", 6000);

原文地址:https://www.cnblogs.com/jirglt/p/3205171.html