Ver Mensaje Individual
  #1 (permalink)  
Antiguo 05/08/2011, 11:16
hdiazvalenzuela
 
Fecha de Ingreso: julio-2011
Mensajes: 19
Antigüedad: 12 años, 9 meses
Puntos: 0
problema javascript en mozilla e I9, solo en google Chrome funciona

el codigo es el siguiente:

<script language="JavaScript">
<!--
function calcHeight()
{
//find the height of the internal page
var the_height=
document.getElementById('mi_iframe').contentWindow .document.body.scrollHeight;

//change the height of the iframe
document.getElementById('mi_iframe').height=the_he ight;
}
//-->
</script>

en Chrome funciona a la perfeccion pero en mozilla e I9 no hace el rezize para el iframe que lo necesito.

Gracias por su ayuda.