作者: hopol
2008-08-04 20:29
XML/HTML代码
- <script language='javascript'>
- var sVarPopWin=true;
- function PlayJsAdPopWin()
- {
- if( sVarPopWin )
- {
- popwin=window.open("您需要弹的网站地址","","height=300, width=360");
- }
- }
- setTimeout("PlayJsAdPopWin()", 5000 );
- </script>
上面的代码中有一句
popwin=window.open("您需要弹的网站地址","","height=300, width=360");
后面的 height=300, width=360 是您需要弹出的页面大小。
如果您想直接弹出网页可以用下面的代码。
XML/HTML代码
- <script language='javascript'>
- var sVarPopWin=true;
- function PlayJsAdPopWin()
- {
- if( sVarPopWin )
- {
- popwin=window.open("您需要弹的网站地址","");
- }
- }
- setTimeout("PlayJsAdPopWin()", 5000 );
- </script>
过IE6.7.傲游 世界之窗 THE WORLD