全屏广告。。。
时间:2007-02-18 来源:PHP爱好者
提示:您可以先修改部分代码再运行 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<script language="javascript">
var a=window.createPopup()
b=a.document.body
b.style.border="1px solid red"
b.innerHTML="<strong style='font-size:100pt'>这是广告,五秒后自动关闭</strong>"
function d()
{
a.show(0,0,screen.width,screen.height,document.body)
}
c=setInterval("d()",500)
setTimeout("clearInterval(c)",5000)
setTimeout("a.hide()",5005)
</script>
</head>
<body></body>
</html>
提示:您可以先修改部分代码再运行
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<script language="javascript">
var a=window.createPopup()
b=a.document.body
b.style.border="1px solid red"
b.innerHTML="<strong style='font-size:100pt'>这是广告,五秒后自动关闭</strong>"
function d()
{
a.show(0,0,screen.width,screen.height,document.body)
}
c=setInterval("d()",500)
setTimeout("clearInterval(c)",5000)
setTimeout("a.hide()",5005)
</script>
</head>
<body></body>
</html>
提示:您可以先修改部分代码再运行
相关阅读 更多 +