![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
26/01/2004, 14:23
|
| | Fecha de Ingreso: enero-2002
Mensajes: 115
Antigüedad: 23 años Puntos: 1 | |
ventana modificable hola tengo un codigo q te pone la ventana al tamaño de la imagen, este codigo va perfectamente en explorer, pero en netscape 7 no, alguien me puede ayudar, ya no se q hacer.
gracias
<SCRIPT language=JavaScript>
function Imagen()
{
ancho = document.imagen.width;
alto = document.imagen.height;
alert(ancho);
window.resizeTo(ancho,alto)
}
</script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<%=Request.QueryString("im")%>
<table width="100%" border="0" cellspacing="10" cellpadding="0">
<tr>
<td align="center" valign="middle"><img src="fichas/33/ima1g0,3876306.jpg" name="imagen"></td>
</tr>
</table>
<script language="JavaScript">
Imagen();
</script> |