close
#overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #000;
filter:alpha(opacity=50);
-moz-opacity:0.5;
-khtml-opacity: 0.5;
opacity: 0.5;
z-index: 10000;
}
var overlay = jQuery('<div id="overlay"> </div>'); overlay.appendTo(document.body)
http://stackoverflow.com/questions/1718951/jquery-how-can-i-create-a-simple-overlay
全站熱搜