首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

div 遮罩层 全屏,该怎么解决

2012-09-07 
div 遮罩层 全屏我要跳转页面不只是看到页面(不好解释),就像List控件可以往下面拉 所以页面就不至看到的,

div 遮罩层 全屏
我要跳转页面不只是看到页面(不好解释),就像List控件可以往下面拉 所以页面就不至看到的,我怎么弄遮罩层让他全部都覆盖上呢?

[解决办法]
http://jqueryui.com/demos/dialog/#modal-form
[解决办法]
问题有点饶,不是很明白,这个是全屏遮罩的

HTML code
<html xmlns="http://www.w3.org/1999/xhtml"><head>    <title>无标题页</title>    <script type="text/javascript">        window.onload=function(){            var mask = document.getElementById("mask");            var b = document.documentElement?document.documentElement:document.body;            mask.style.width = b.clientWidth+"px";            mask.style.height = b.scrollHeight+"px";        }    </script></head><body style="height:1000px"><div id="mask" style="top:0px;left:0px;background:#000;filter:alpha(opacity=60);opacity:0.6;position:absolute;z-index:99;"></div></body></html> 

热点排行