Ver Mensaje Individual
  #3 (permalink)  
Antiguo 28/12/2009, 09:18
javiercitox
 
Fecha de Ingreso: diciembre-2009
Ubicación: Valparaíso
Mensajes: 118
Antigüedad: 14 años, 4 meses
Puntos: 3
Respuesta: Ajustar capa dentro del body

Código HTML:
Ver original
  1. <title>Mi Titulo de Pagina</title>
  2. <link href="../css/estilos.css" rel="stylesheet" type="text/css">
  3.  
  4. function abrirVentana(pLinea)
  5.     {
  6.     window.open('Ventana_Seleccionar_ut.php?linea='+pLinea, '', 'width=330,height=252,scrollbars=NO,statusbar=NO,left=500,top=250');
  7.     document.getElementById("capaFondo1").style.visibility="visible";
  8.     }
  9.  
  10. </head>
  11. <div id="capaFondo1"> </div>
  12.  
  13.   <p>Aqui va todo el contenido de la página y más abajo el boton que abre otra ventana
  14.     y hace aparecer y desaparecer la capa de fondo. </p>
  15.    
  16. <p>
  17. <input type="button" name="Buscar" value="Buscar" onClick="abrirVentana(0);">
  18. </p>
  19.  
  20. </body>
  21. </html>

Eso es lo que tengo en la página...