
28/04/2006, 12:28
|
| | Fecha de Ingreso: noviembre-2002 Ubicación: Mex
Mensajes: 140
Antigüedad: 22 años, 3 meses Puntos: 0 | |
Intenta con:
Código:
<script>
document.write("<iframe onload='resize(this.src)' id='ima' name='ima' title='<%=alt%>' src='<%=titulo%>' scrolling='no'>");
document.write("</iframe>");
function resize(foto){
var dimension= new Image();
dimension.src=foto;
document.getElementById('ima').src = foto
document.getElementById("ima").style.width = dimension.width;
document.getElementById("ima").style.height = dimension.height;
}
</script>
|