Ver Mensaje Individual
  #13 (permalink)  
Antiguo 29/06/2006, 16:15
thunder.scripts
 
Fecha de Ingreso: febrero-2005
Mensajes: 670
Antigüedad: 19 años, 2 meses
Puntos: 0
¿Y si alguien tiene javascript desactivado? Directamente no vé nada :P Yo haría algo así:
Código HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>.:: Plaza IP ::.</title>
	<script type="text/javascript">
	<!-- /*<![CDATA[*/
	function precargar() {
		imgs = document.images;
		precargadas = true;
		
		for (var i = 0, total = imgs.length; i < total; i ++)
			precargadas = (precargadas && imgs[i].complete);
			
		if (precargadas) document.body.style.visibility = "visible";
		else setTimeout("precargar()", 100);
	}
	
	window.onload = function() {
		precargar();
	}
	
	/* ]]> */ //-->
	</script>
</head>
<body>
	<script type="text/javascript">document.body.style.visibility = 'hidden'</script>
	<img src="http://www.lacabania.com/webmaster/imagen.php?id=1" alt="" />
	<img src="http://www.lacabania.com/webmaster/imagen.php?id=2" alt="" />
	<img src="http://www.lacabania.com/webmaster/imagen.php?id=3" alt="" />
	<img src="http://www.lacabania.com/webmaster/imagen.php?id=4" alt="" />
	<img src="http://www.lacabania.com/webmaster/imagen.php?id=5" alt="" />
	<img src="http://www.lacabania.com/webmaster/imagen.php?id=6" alt="" />
</body>
</html> 
Suerte,
Fede
__________________
Federico H. García
Desarrollo Web
www.federicog.com.ar