Hola:
Esa carpeta la eliminé en el servidor, pero como tengo el ejemplo en mi ordenador voy a copiarlo:
Fichero prueba17.html:
Código:
<html>
<head>
<title>iframe</title>
<script language="JavaScript">
<!--
function ajustar(ancho, alto) {
document.getElementById("marco").style.width = ancho;
document.getElementById("marco").style.height = alto;
}
// -->
</script>
</head>
<body >
<iframe src="prueba17hijo.html" id="marco" style="width:500;height:200"></iframe>
</body>
</html>
Y prueba17hijo.html:
Código:
<html>
<head>
<title>iframe</title>
</head>
<body bgcolor=cyan text=red>
Medidas del padre:<br>
<form name=padre>
ancho padre:<input name=ancho type=text value=""><br>
alto padre:<input name=alto type=text value=""><br>
<input type=button value="reajustar marco" onclick="parent.ajustar(document.forms.padre.ancho.value, document.forms.padre.alto.value)"
</form>
</body>
</html>
Para problemas así, en vez de reavivar viejos temas, te recomiendo iniciar un nuevo mensaje.
Saludos