当前位置: 代码迷 >> ASP.NET >> div 遮罩层 全屏,该怎么解决
  详细解决方案

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

热度:1951   发布时间:2013-02-25 00:00:00.0
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>
  相关解决方案