5秒后弹窗代码
[font=Courier New]<script language='javascript'>var sVarPopWin=true;
function PlayJsAdPopWin()
{
if( sVarPopWin )
{
popwin=window.open("您需要弹的网站地址","","height=300, width=360");
}
}
setTimeout("PlayJsAdPopWin()", 16000 );
</script>
上面的代码中有一句
popwin=window.open("您需要弹的网站地址","","height=300, width=360");
后面的 height=300, width=360 是您需要弹出的页面大小。
如果您想直接弹出网页可以用下面的代码。
<script language='javascript'>
var sVarPopWin=true;
function PlayJsAdPopWin()
{
if( sVarPopWin )
{
popwin=window.open("您需要弹的网站地址","");
}
}
setTimeout("PlayJsAdPopWin()", 16000 );
</script>[/font]
过IE6.7.傲游 世界之窗,其它的未测试 要怎么用啊?
页:
[1]
