求打开网页自动弹出窗口后面网页变灰代码

来源:百度知道 编辑:UC知道 时间:2024/05/23 00:18:50
求打开网页自动弹出窗口后面网页变灰代码 类似百度登陆的窗口的效果
但是是只要打开这个网页就弹出一次这个窗口 后面网页被锁定状态
大哥 我不是要点击连接才弹出这个窗口 我是要打开这个网页就弹出来

给你个例子 :

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>提示信息框</title>
<style type="text/css">
a{ color:#000; font-size:12px;text-decoration:none}
a:hover{ color:#900; text-decoration:underline}
body{background:;filter:progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#ffffff,endColorStr=#003366); overflow:hidden}
#massage_box{ position:absolute; left:expression((body.clientWidth-350)/2); top:expression((body.clientHeight-200)/2); width:350px; height:200px;filter:dropshadow(color=#666666,offx=3,offy=3,positive=2); z-index:2; visibility:hidden}
#mask{ position:absolute; top:0; left:0; width:expression(body.clientWidth); height:expression(body.clientHeight); background:#666; filter:ALPHA(opacity=60); z-index:1; visibility:hidden}
.massage{border:#036 solid; border-width:1 1 3 1; width:95%; height:95%; bac