IE中实现全屏广告

<script>
var w1=window.createPopup()
document.write("<OBJECT classid=clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11 onreadystatechange=if(this.readyState==4)this.Click() id=HHCtrl_Object1><PARAM name=Command value=minimize></OBJECT>")
w1.document.body.oncontextmenu=w1.document.body.onselectstart=function(){return false}
w1.document.body.innerHTML="<table bgcolor=black width=100% height=100%><tr><td align=center style=color:white;font-weight:bold;font-size:75px;cursor:default>IE超大屏幕广告</td></table>"
w1.show(0,0,screen.width,screen.height)
</script>


只能强行关闭浏览器.活活...
(PS:去掉this.Click()就可以关闭了)

下面这段也是一样

<script>
var w1=window.createPopup()
w1.document.body.innerHTML="<table bgcolor=black width=100% height=100%><tr><td align=center style=color:white;font-weight:bold;font-size:75px;cursor:default>IE超大屏幕广告</td></table>"
w1.show(0,0,screen.width,screen.height)
</script>
posted @ 2006-11-23 16:18  MaxIE  阅读(221)  评论(0编辑  收藏  举报