Jimbo
06-14-2003, 06:13 PM
I need some help with an iframe. I am trying to make a script that changes the height of the iframe to the height of the page within the iframe whenever the page is loaded into it, with no success.
Every page that loads into the iframe has a body onload....
<script language="Javascript" type="text/javascript">
<!--
var content_box = parent.document.getElementbyId("iframe")
-->
</script>
</head>
<body onload="resize_content()"
Now i just need another part of the script that resizes the iframe to the height of the page in the iframe. Any help is greatly appreciated.
Every page that loads into the iframe has a body onload....
<script language="Javascript" type="text/javascript">
<!--
var content_box = parent.document.getElementbyId("iframe")
-->
</script>
</head>
<body onload="resize_content()"
Now i just need another part of the script that resizes the iframe to the height of the page in the iframe. Any help is greatly appreciated.