1 setInterval('window.close()', 2000)
2 或者
function closeWin(){
window.close();
}
3打开新窗口
function showPage(){
win = window.open("new_page.html","newPage","width=500,height=500,top=200,left=400");
}
1 setInterval('window.close()', 2000)
2 或者
function closeWin(){
window.close();
}
3打开新窗口
function showPage(){
win = window.open("new_page.html","newPage","width=500,height=500,top=200,left=400");
}