Ver Mensaje Individual
  #2 (permalink)  
Antiguo 20/01/2006, 07:32
Avatar de Saruman
Saruman
 
Fecha de Ingreso: mayo-2003
Ubicación: Panama city, Panama, Panama
Mensajes: 1.154
Antigüedad: 21 años
Puntos: 5
ok, con esto haces lo que pides.

esto lo colocas en el html de tu página.

index.ext
Código HTML:
<script language="javascript">
 window.onload = function() {
  document.getElementById("suppliers_history").scrolling = "no";
  document.getElementById("suppliers_history").src = "tuiframe.ext";
 }
</script>
<iframe width="95%" id="suppliers_history" frameborder="0" scrolling="no" marginheight="0" marginwidth="0"></iframe> 

dentro del div va TODO tu html (contenido) para poder que el script calcule el alto de la pagina...

tuiframe.ext
Código HTML:
<div id="div_supplier_history">
<!-- HTML (contenido)-->
</div>
<script language="javascript">
 window.onload = function() {
  window.resizeTo(window.parent.document.getElementById("suppliers_history").offsetWidth, document.getElementById("div_supplier_history").offsetHeight+30)
 }
</script> 
saludos
__________________
Saruman

One Ring to rule them all, One Ring to find them, One Ring to bring them all and in the darkness bind them.