定时弹出新窗口

Select Code
1
2
3
4
5
6
7
<script type="text/jscript" language="javascript">  
function pp()
{
window.open("http://www.baidu.com","new","height=280,width=800,top=10,left=20,resizable=no, location=no",false);  
}
setInterval("pp()",5000);
</script>