
11/10/2009, 12:29
|
 | Colaborador | | Fecha de Ingreso: marzo-2009 Ubicación: BsAs
Mensajes: 4.014
Antigüedad: 16 años Puntos: 101 | |
Respuesta: cambiar tamaño de fotos grandes Que me falta? Cita: <head> ...
function fotos() {
fotos = document.images;
for (i=0; i<fotos.length; i++)
{
if (fotos[i].getAttribute("width") >= 680) {
this.width = 620;
this.height = "auto";
}
}
}
</head>
<body onload="fotos()">
...
</body>
Última edición por mayid; 11/10/2009 a las 12:44 |