<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>MachForm Community Forums Topic: auto height on iframe isn't working</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: auto height on iframe isn't working</description>
<language>en</language>
<pubDate>Thu, 18 Jun 2026 16:44:22 +0000</pubDate>

<item>
<title>xstortionist on "auto height on iframe isn't working"</title>
<link>https://www.machform.com/forums/topic/auto-height-on-iframe-isnt-working#post-9983</link>
<pubDate>Thu, 22 Jul 2010 00:07:16 +0000</pubDate>
<dc:creator>xstortionist</dc:creator>
<guid isPermaLink="false">9983@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Yuniar, you are very good at what you do.&#60;/p&#62;
&#60;p&#62;Thank you for the support.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "auto height on iframe isn't working"</title>
<link>https://www.machform.com/forums/topic/auto-height-on-iframe-isnt-working#post-9976</link>
<pubDate>Wed, 21 Jul 2010 10:57:04 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">9976@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Ah.. yes, quite simple actually. You are calling the form using &#34;www.autowebspecials.com&#34; domain, but your Javascript missed the &#34;www&#34; part:&#60;/p&#62;
&#60;p&#62;src=&#34;http://autowebspecials.com/infinitiwarranty/machform/embed.php?id=1&#34;&#60;/p&#62;
&#60;p&#62;They are considered as different domains, thus it won't work.&#60;/p&#62;
&#60;p&#62;To fix it, adjust your javascript code to use the &#34;www&#34; domain.
&#60;/p&#62;</description>
</item>
<item>
<title>xstortionist on "auto height on iframe isn't working"</title>
<link>https://www.machform.com/forums/topic/auto-height-on-iframe-isnt-working#post-9973</link>
<pubDate>Wed, 21 Jul 2010 05:25:58 +0000</pubDate>
<dc:creator>xstortionist</dc:creator>
<guid isPermaLink="false">9973@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;This is what I did from Yuniar original post:&#60;/p&#62;
&#60;p&#62;&#38;lt;script language=&#34;JavaScript&#34;&#38;gt;&#60;br /&#62;
&#38;lt;!--&#60;br /&#62;
function calcHeight()&#60;br /&#62;
{&#60;br /&#62;
//find the height of the internal page&#60;br /&#62;
var the_height=&#60;br /&#62;
document.getElementById('the_iframe').contentWindow.&#60;br /&#62;
document.body.scrollHeight;&#60;/p&#62;
&#60;p&#62;//change the height of the iframe&#60;br /&#62;
document.getElementById('the_iframe').height=&#60;br /&#62;
the_height;&#60;br /&#62;
}&#60;br /&#62;
//--&#38;gt;&#60;br /&#62;
&#38;lt;/script&#38;gt;&#60;/p&#62;
&#60;p&#62;then my form is:&#60;/p&#62;
&#60;p&#62;&#38;lt;iframe width=&#34;100%&#34; id=&#34;the_iframe&#34;&#60;br /&#62;
onload=&#34;calcHeight();&#34;&#60;br /&#62;
src=&#34;http://autowebspecials.com/infinitiwarranty/machform/embed.php?id=1&#34;&#60;br /&#62;
scrolling=&#34;NO&#34;&#60;br /&#62;
frameborder=&#34;0&#34;&#60;br /&#62;
height=&#34;1&#34;&#38;gt;&#60;br /&#62;
An iframe capable browser is&#60;br /&#62;
required to view this web site.&#60;br /&#62;
&#38;lt;/iframe&#38;gt;&#60;/p&#62;
&#60;p&#62;if you go to the site &#60;a href=&#34;http://www.autowebspecials.com/infinitiwarranty/contact-us&#34; rel=&#34;nofollow&#34;&#62;http://www.autowebspecials.com/infinitiwarranty/contact-us&#60;/a&#62; 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.&#60;/p&#62;
&#60;p&#62;Yuniar can you please help me?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
