Ver Mensaje Individual
  #21 (permalink)  
Antiguo 24/11/2006, 21:56
gdb7
 
Fecha de Ingreso: abril-2003
Ubicación: Córdoba
Mensajes: 160
Antigüedad: 21 años
Puntos: 0
yo hice una union de dos, para que ande en IE y FF, no se en opera (mi ancho es fijo):

<SCRIPT LANGUAGE=javascript>
<!--
function reSize()
{
try{
var oBody = ifrm.document.body;
var oFrame = document.all("ifrm");

oFrame.style.height = oBody.scrollHeight + (oBody.offsetHeight - oBody.clientHeight);
document.getElementById("ifrm").width = 680;
}
catch(e)
{
document.getElementById("ifrm").width = 680;
document.getElementById("ifrm").height = window.frames.ifrm.document.body.offsetHeight+20;
}
}
//-->
</SCRIPT>

<body onload=reSize()>

<iframe src="'archivo.html" frameborder=0 marginwidth=0 marginheight=0 scrolling=no onresize=reSize() id="ifrm" name="ifrm"></iframe>

espero ayude!
__________________
-----------------
_
__|_|__
º(-_-)º