Ver Mensaje Individual
  #3 (permalink)  
Antiguo 09/08/2010, 07:26
kilme
 
Fecha de Ingreso: octubre-2008
Mensajes: 3
Antigüedad: 15 años, 6 meses
Puntos: 0
Respuesta: Redireccionar si hay conexión

Gracias por la respuesta. Asi me quedo el codigo pero no funciona. que estare poniendo mal?

Código PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml">
<
head>
<
meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<
title>Documento sin t&iacute;tulo</title>


</
head>

<
body>
<
script>document.write('<img src="http://static.forosdelweb.com/fdwtheme/logo-navidad.png?'+Math.random()+'" style="display:none" onload="window.location = "http://www.google.com";" onerror="alert(&quot;no hay internet&quot;)" />');</script>
</body>
</html>