Ver Mensaje Individual
  #3 (permalink)  
Antiguo 24/09/2010, 18:31
Avatar de emprear
emprear
Colaborador
 
Fecha de Ingreso: junio-2007
Ubicación: me mudé
Mensajes: 8.388
Antigüedad: 16 años, 10 meses
Puntos: 1567
Respuesta: Problemas de mi web en el IE

Skyliner:
Podés probar con esto, utilizamos setTimeout() para recargar cada tantos segundos (el valor se expresa en milisegundos, en el ejemplo, 5 segundos) y location.reload(true), que a diferencia de
location.reload(), recarga desde el servidor salteándose la cache del navegador

Ejemplo

Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es" >
  4. <title>Recargar desde el Servidor</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <meta name="description" content="x" />
  7. <meta name="keywords" content="x" />
  8. <meta http-equiv="Content-Language" content="ES" />
  9. <meta http-equiv="Content-Script-Type" content="text/javascript" />
  10. <meta name="copyright" content="&copy; 2006, Guillermo Gianello" xml:lang="es" lang="es" />
  11. <script type="text/javascript">
  12. //<![CDATA[
  13.  
  14. function r(){
  15. location.reload(true);
  16. }
  17. function recarga(){
  18. setTimeout("r()", 5000);
  19. }
  20. //]]>
  21. </head>
  22. <body onload="recarga();">
  23. <p>Recargar desde el Servidor</p>
  24. <!-- ©2000 Emprear.com -->
  25. </body>
  26. </html>


Saludos
__________________
La voz de las antenas va, sustituyendo a Dios.
Cuando finalice la mutación, nueva edad media habrá
S.R.