<html><head><script language="javascript">var xx;function pop(){xx=window.open("广告.htm","subwin","width=400,height=200"); //移动到屏幕中央。 xx.moveTo((screen.width-400)/2,(screen.height-200)/2); //广告窗口放在最前面 xx.focus(); // 5秒后关闭 setTimeout("closepop()",5000);}function closepop(){xx.close();}</script></head><body onload="javascript:pop();"></body></html>

评论