Ver Mensaje Individual
  #4 (permalink)  
Antiguo 18/11/2004, 10:25
ramiro_olvera
 
Fecha de Ingreso: abril-2004
Mensajes: 84
Antigüedad: 20 años, 9 meses
Puntos: 0
Código:
<html>
<head>
<script>
function cierra(){
window.opener.close();


}

</script>
</head>

<body>

<button onclick=cierra()>click</button>
</body>
</html>
y te cierra la ventana madre si solo si fue abierta desde un link con target=blank.
Código:
<a href="madre.html" target=blank>abrir madre</a>