在网页HTML语法中插入以下代码:
<Script language=javascript>
<!--
popwin=window.open("http://www.xiang6963.cn/bbs","www_xiang6963_Cn","toolbar=1,menubar=1,scrollbars=1,resizable=1,location=1,status=1,width=800,height=600,left=200,top=50");
setTimeout("popwin.close()",2000); //2秒后定时关闭
//popwin.close(); 执行完就关闭
-->
</Script>