Ver Mensaje Individual
  #8 (permalink)  
Antiguo 03/05/2012, 09:08
chinanzio
 
Fecha de Ingreso: marzo-2007
Mensajes: 82
Antigüedad: 17 años, 1 mes
Puntos: 21
Respuesta: Recarga de página padre sin mensaje de reenvío

A lo mejor este ejemplo te sirve:

en la pagina Principal
Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  4. <title>Insert title here</title>
  5. </head>
  6.     <script>
  7.     alert("Pagina principal cargando ...");
  8.  
  9.     function abrePopup() {
  10.         var day = new Date();
  11.         var id = day.getTime();
  12.         window.open("popup.html", id, 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=600,height=400');
  13.     }
  14.     </script>
  15.  
  16.     <input type="button" value="abre popup" onclick="abrePopup();"/>
  17. </body>
  18. </html>

En popup.html

Código HTML:
Ver original
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <title>Insert title here</title>
  6. </head>
  7. function reloadPrincipal() {
  8.     window.opener.location.reload();
  9. }
  10. <input type="button" value="reload principal" onclick="reloadPrincipal();" />
  11. </body>
  12. </html>
__________________
Hazle un favor a tu cerebro y juega Ajedrez online
Chess online