求类似的HTML特效!!!

来源:百度知道 编辑:UC知道 时间:2024/06/06 02:17:05
打开 kankan.xunlei.com 时,在没有登陆的情况下,点击右上角的 登陆 这是页面会 弹出 登陆框, 这时的 页面背景是半透明的, 然后是一个层 里边是个登陆框。这样的特效,怎么实现,或者有代码更好。看效果
我的邮箱是 38031@163.com
可以把html,或者 js 文件发到我的邮箱,注明你的名字,我好给分,满意追加50分。谢谢!

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<style>
body{margin:0;padding:0;}
#topFill{display:none;text-align:center;position:absolute;z-index = 999;filter:alpha(opacity=50);background-color:#6699FF;opacity: 0.5;-moz-opacity: 0.5;width:100%;}
#alertBox{margin:auto;height:150px;width:300px;background-color:#cf0;text-align:left;border:1px solid #666}
#alertTitle{height:20px;background-color:#EDF8B8;line-height:20px;padding:0 10px;border-bottom:1px solid #71860D}
#alertContent{padding:42px 0;;text-align:center;}
#alertBtn{text-align:center;}
#alertBtn input{margin:0 10px;background:#FFFF99;border:1px solid #fff;height:20px;line-height:20px;}
.STYLE1 {
font-size: 18px;
font-weight: bold;
}
.STYLE2 {color: #336600}
</style>
<script type="text/javascript&