如何控制弹出广告的时间

来源:百度知道 编辑:UC知道 时间:2024/05/22 22:36:29
这是我找到的一段网页弹出广告的代码,但是广告是一闪即逝,请教高手指点,如何调整广告的显示时间?

这个是我找到一段弹出广告代码,但是关闭的太快了!请高手指点一下如何让弹出的广告不要一闪就没了!

<style type="text/css">
#rbbox{position:absolute;right:0;bottom:0;width:300px;height:0px;overflow:hidden}
.button{display:inline;float:right;font-size:12px;cursor:pointer}
</style>
<body><div id="rbbox"><a class="button" onclick="closeBox()">关闭</a><iframe src="http://p.99081.com/tqlm/dtxc.swf" frameborder="0" height="200" width="300" scrolling="no"></iframe></div>
</body>
</html>
<script language="javascript" type="text/javascript">
window.onload=function(){showBox();setTimeout("closeBox()",5000)}
function showBox(o){
if (o==undefined) o=document.

帮你更改好了!!

<style type="text/css">
#rbbox{position:absolute;right:0;bottom:0;width:300px;height:0px;overflow:hidden}
.button{display:inline;float:right;font-size:12px;cursor:pointer}
</style>
<body><div id="rbbox"><a class="button" onclick="closeBox()">关闭</a><iframe src="http://p.99081.com/tqlm/dtxc.swf" frameborder="0" height="200" width="300" scrolling="no"></iframe></div>
</body>
</html>
<script language="javascript" type="text/javascript">
window.onload=function(){showBox();setTimeout("closeBox()",35000)}
function showBox(o){
if (o==undefined) o=document.getElementById("rbbox");
o.style.height=o.clientHeight+2+"px";
i