Foros del Web » Programando para Internet » Javascript »

cerrar pagina con onmouseout

Estas en el tema de cerrar pagina con onmouseout en el foro de Javascript en Foros del Web. <tr class=Estilo2> <td width=10% align=left>FACT-<a href="../../cgi-bin/cldetdocmx. sh?tipo=01&numero4215015 target="popup" onmouseover="window.open(this.href,this.target,'wi dth=700, height=470, left=100')" onmuseout="window.close();" >4215015</a></td> <td width=37% align=left id=linea>NNNNNNNN</td> <td width=10% align=center id=linea>05-07-2008</td> <td width=10% align=right ...
  #1 (permalink)  
Antiguo 09/07/2008, 11:20
 
Fecha de Ingreso: octubre-2005
Mensajes: 405
Antigüedad: 18 años, 6 meses
Puntos: 1
cerrar pagina con onmouseout

<tr class=Estilo2>
<td width=10% align=left>FACT-<a href="../../cgi-bin/cldetdocmx.
sh?tipo=01&numero4215015 target="popup" onmouseover="window.open(this.href,this.target,'wi dth=700, height=470, left=100')" onmuseout="window.close();">4215015</a></td>
<td width=37% align=left id=linea>NNNNNNNN</td>
<td width=10% align=center id=linea>05-07-2008</td>
<td width=10% align=right id=linea13.500</td>
<td width=10% align=right id=linea>11.345</td>
<td width=09% align=right id=linea>2.340</td>
<td width=06% align=right id=linea>10,0%</td>
<td width=08% align=right id=linea>234</td>
</tr>

Como puedo cerrar popup de pagina htm . (Negrita)

Cualquier dato se agradece.
  #2 (permalink)  
Antiguo 09/07/2008, 12:44
Avatar de JavierB
Colaborador
 
Fecha de Ingreso: febrero-2002
Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 22 años, 3 meses
Puntos: 772
Respuesta: cerrar pagina con onmouseout

Hola [email protected]

Te contesto de memoria (sin probar el código), espero que te funcione. Pon esto en el head de tu página:

Código:
<script type="text/javascript">
var ventana;
</script>
Código:
onmouseover = "ventana = window.open(this.href,this.target,'width = 700, height=470, left=100')" onmuseout="ventana.close();"
Saludos,
  #3 (permalink)  
Antiguo 09/07/2008, 13:51
 
Fecha de Ingreso: octubre-2005
Mensajes: 405
Antigüedad: 18 años, 6 meses
Puntos: 1
Respuesta: cerrar pagina con onmouseout

Se te agradece tu buena memoria, muchas, muchas gracias en verdad que no encontraba la formula.



Cita:
Iniciado por JavierB Ver Mensaje
Hola [email protected]

Te contesto de memoria (sin probar el código), espero que te funcione. Pon esto en el head de tu página:

Código:
<script type="text/javascript">
var ventana;
</script>
Código:
onmouseover = "ventana = window.open(this.href,this.target,'width = 700, height=470, left=100')" onmuseout="ventana.close();"
Saludos,
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 22:37.