页面跳转的实用例子

1、在本页弹出

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

2、在另一页弹出

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

posted on 2013-07-22 13:42  专注2018  阅读(186)  评论(0编辑  收藏  举报