Asi podés hacerlo
Código HTML:
Ver original<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <meta http-equiv="content-type" content="text/html; charset=utf-8" />
/*<![CDATA[*/
div#ns {
position: fixed;
width: 100%;
height:100%;
background-color: #000;
color: #FFF;
top:0px;
left:0px;
text-align: center;
padding-top: 200px;
z-index: 999;
overflow:hidden;
opacity: 0.7;
}
span{
cursor: pointer;
}
/*]]>*/
<script type="text/javascript"> //<![CDATA[
function cerrar(){
document.getElementById('ns').style.display = 'none';
}
//]]>
La capa "ns" deshabilita el resto y se posiciona sobre todo, y contiene un elemento que a su vez la cierra y libera el fondo
Saludos