 
			
				13/09/2004, 05:02
			
			
			     |  
      |    |    |    Fecha de Ingreso: noviembre-2002  
						Mensajes: 746
					  Antigüedad: 23 años Puntos: 6     |        |  
  |      gracias javierb   
pero no me va este script haber si alguien me da una ayudita     
<html> 
<body> 
<script type="text/javascript"> 
var _i = new Image(); 
_i.src="oficina.jpg"; 
document.write("El tamaño de la imagen 'oficina.jpg' es: "); 
document.write(_i.width+'x'+_i.height); 
</script>   
</b></p>   
<p> 
<script> 
if (_i.height < _i.width) then 
document.write ("<img src='oficina.JPG' width='100' height='150'>") 
else 
document.write ("<img src='oficina.JPG' width='150' height='100'>") 
end if 
</script> 
</p>   
</body> 
</html>   
me dice las dimensiones pero no me muestra la foto luego en el if           |