This is what I did from Yuniar original post:
<script language="JavaScript">
<!--
function calcHeight()
{
//find the height of the internal page
var the_height=
document.getElementById('the_iframe').contentWindow.
document.body.scrollHeight;
//change the height of the iframe
document.getElementById('the_iframe').height=
the_height;
}
//-->
</script>
then my form is:
<iframe width="100%" id="the_iframe"
onload="calcHeight();"
src="http://autowebspecials.com/infinitiwarranty/machform/embed.php?id=1"
scrolling="NO"
frameborder="0"
height="1">
An iframe capable browser is
required to view this web site.
</iframe>
if you go to the site http://www.autowebspecials.com/infinitiwarranty/contact-us you will see that the javascript is there, but I just don't why it isn't working. I wish I had the answer to this mind boggling question.
Yuniar can you please help me?