Ver Mensaje Individual
  #4 (permalink)  
Antiguo 31/05/2010, 10:07
Avatar de Sommy
Sommy
 
Fecha de Ingreso: septiembre-2008
Mensajes: 228
Antigüedad: 15 años, 7 meses
Puntos: 6
Respuesta: Mostrar una pagina dentro de otra, (similar a un frame)

Me alegro que hayas podido... Me temo que tengas problemas con el alto del iframe... para que te tome el alto automaticamente puedo compartirte este bloque de JS...

Código HTML:
<script language="javascript" type="text/javascript">
function iFrameHeight() {
	var h = 0;
	if ( !document.all ) {
		h = document.getElementById('ID_DE_IFRAME').contentDocument.height;
		document.getElementById('ID_DE_IFRAME').style.height = h + 60 + 'px';
	} else if( document.all ) {
		h = document.frames('ID_DE_IFRAME').document.body.scrollHeight;
		document.all.ID_DE_IFRAME.style.height = h + 20 + 'px';
	}
}
</script> 
Y en el iframe...

Código HTML:
<iframe onload="iFrameHeight()"	id="ID_DE_IFRAME"
__________________
Si aún lo llevas, dejalo...
Programador PHP argentina