<?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: IFrame Height</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: IFrame Height</description>
<language>en</language>
<pubDate>Wed, 06 May 2026 07:01:46 +0000</pubDate>

<item>
<title>islanddesign on "IFrame Height"</title>
<link>https://www.machform.com/forums/topic/iframe-height#post-546</link>
<pubDate>Fri, 11 Jan 2008 10:14:08 +0000</pubDate>
<dc:creator>islanddesign</dc:creator>
<guid isPermaLink="false">546@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi Juhec,&#60;/p&#62;
&#60;p&#62;Thank you very much for this code!  I have tried it on FF &#38;#38; Safari for Mac and it works great.  But when I tried it on IE6 &#38;#38; FF for PC, it doesn't work.  Did you run into that problem as well?  Would you be able to provide a solution?&#60;/p&#62;
&#60;p&#62;I would greatly appreciate your help on this.  I know FF is very strict when it comes to JavaScript so, who knows!&#60;/p&#62;
&#60;p&#62;Thanks in Advance,&#60;br /&#62;
IslandDesign
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "IFrame Height"</title>
<link>https://www.machform.com/forums/topic/iframe-height#post-379</link>
<pubDate>Thu, 29 Nov 2007 07:43:14 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">379@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hey Juergen, thanks for sharing this!&#60;br /&#62;
Very useful. I think most people would found this valuable.
&#60;/p&#62;</description>
</item>
<item>
<title>juehec on "IFrame Height"</title>
<link>https://www.machform.com/forums/topic/iframe-height#post-376</link>
<pubDate>Wed, 28 Nov 2007 18:54:29 +0000</pubDate>
<dc:creator>juehec</dc:creator>
<guid isPermaLink="false">376@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi David,&#60;/p&#62;
&#60;p&#62;i have a solution for this problem. At first add &#60;/p&#62;
&#60;p&#62;id=&#34;machform&#34; &#60;/p&#62;
&#60;p&#62;on your IFRAME&#60;/p&#62;
&#60;p&#62;then add the following code in the file includes/view-functions.php&#60;br /&#62;
at the function display_form() and display_success() after&#60;br /&#62;
the Line &#38;lt;script type=&#34;text/javascript&#34; src=&#34;js/calendar.js&#34;&#38;gt;&#38;lt;/script&#38;gt;&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;script type=&#38;quot;text/javascript&#38;quot;&#38;gt;;
	function resizeIframe() {

		// Must launched on the body onload event handler for IE
		// Use document.documentElement if you are in Compat mode
		i = parent.document.getElementById(&#38;#39;machform&#38;#39;)
		iHeight = document.body.scrollHeight
		i.style.height = iHeight + 5 + &#38;quot;px&#38;quot;
	}
&#38;lt;/script&#38;gt;;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;&#60;code&#62;&#60;/code&#62;&#60;br /&#62;
and then change the line&#60;br /&#62;
&#38;lt;body id=&#34;main_body&#34; {$embed_class}&#38;gt;&#60;br /&#62;
to&#60;br /&#62;
&#38;lt;body onload=&#34;resizeIframe()&#34; id=&#34;main_body&#34; {$embed_class}&#38;gt;;&#60;/p&#62;
&#60;p&#62;On my Site this works well&#60;/p&#62;
&#60;p&#62;Kind Regards&#60;br /&#62;
Juergen
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "IFrame Height"</title>
<link>https://www.machform.com/forums/topic/iframe-height#post-170</link>
<pubDate>Fri, 26 Oct 2007 05:31:54 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">170@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi David,&#60;/p&#62;
&#60;p&#62;At this moment, there is no automatic way to do this yet, sorry.&#60;br /&#62;
An automatic way would be awesome, but I'm still figuring out the best way to do this.&#60;/p&#62;
&#60;p&#62;Thanks for the suggestion.
&#60;/p&#62;</description>
</item>
<item>
<title>davidbeirne on "IFrame Height"</title>
<link>https://www.machform.com/forums/topic/iframe-height#post-165</link>
<pubDate>Thu, 25 Oct 2007 20:13:41 +0000</pubDate>
<dc:creator>davidbeirne</dc:creator>
<guid isPermaLink="false">165@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I must say this is a Great Web-App!!&#60;/p&#62;
&#60;p&#62;Question:&#60;br /&#62;
When you design a form and embed it on a website using the Iframe, the height is set for the iframe in the Code. but later if you do any modifications to the forms e.g. add  another field and the form height is larger than when you first embed the form, the information at the bottom of the form becomes hidden (as the form height is still at the old height). Is there an automatic way to adjust the form height based on the fields added? Maybe add in next version!!.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
