定时关闭
<html> <body onload='setTimeout("mm()",2000)'> <script>function mm() { window.opener=null; window.close(); } </script> <body> <html>
跳出网页
window.open( url,'newwindow', 'width=200, height=1, top=200, left=400, toolbar=no, menubar=no, scrollbars=no, location=yes, resizable=0, status=no' );