Ver Mensaje Individual
  #2 (permalink)  
Antiguo 24/02/2011, 11:36
vaughann
 
Fecha de Ingreso: junio-2008
Mensajes: 42
Antigüedad: 15 años, 10 meses
Puntos: 0
Respuesta: cambiar tamaño imagen en IE

indagando por este foro y otros he visto estas soluciones, pero no se como ponerlo para que funcione en el bbcode.html:
Código:
function flip(imgPath) {
   var oImg = document.getElementById('image1');
   oImg.style.width = "";
   oImg.src = imgPath;
   return false;
}
...
<a href="<%=Recordset("front")%>" onclick="return flip(this.href)">front elevation</a>
<a href="<%=Recordset("firstfloor")%>" onclick="return flip(this.href)">first floor</a>
...
<img src="<%=Recordset("firstfloor")%>" id="image1" style="max-width:500px; height:auto;" onload="if (typeof this.style.maxWidth=='undefined' && this.width > 500) this.style.width='500px';" />
Y este post [URL="http://www.forosdelweb.com/f53/max-height-imagenes-para-internet-explorer-6-como-584118/"]http://www.forosdelweb.com/f53/max-height-imagenes-para-internet-explorer-6-como-584118/[/URL]