<?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 expand/adjustable iframe</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Auto expand/adjustable iframe</description>
<language>en</language>
<pubDate>Wed, 06 May 2026 10:58:23 +0000</pubDate>

<item>
<title>lancenickel on "Auto expand/adjustable iframe"</title>
<link>https://www.machform.com/forums/topic/auto-expandadjustable-iframe/page/3#post-22659</link>
<pubDate>Wed, 04 Feb 2015 21:42:58 +0000</pubDate>
<dc:creator>lancenickel</dc:creator>
<guid isPermaLink="false">22659@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Try this. It might work as an alternative to the javascript embed method. I have used it. I'm using the regular iframe embed. No jquery core needed.&#60;/p&#62;
&#60;p&#62;Put in the head&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;script&#38;gt;
function resizeIframe(obj) {
    obj.style.height = obj.contentWindow.document.body.scrollHeight + &#38;#39;px&#38;#39;;
  }
&#38;lt;/script&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;and on the iframe add the onload function&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;iframe allowtransparency=&#38;quot;true&#38;quot; frameborder=&#38;quot;0&#38;quot; height=&#38;quot;1039&#38;quot; onload=&#38;quot;javascript:resizeIframe(this);&#38;quot; scrolling=&#38;quot;no&#38;quot; src=&#38;quot;http://yoursite.com/form/embed.php?XXXXX&#38;quot; style=&#38;quot;width:100%;border:none&#38;quot; title=&#38;quot;&#38;quot;&#38;gt;&#38;lt;/iframe&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I have not tested in IE so use at own risk. :)
&#60;/p&#62;</description>
</item>
<item>
<title>shopkins on "Auto expand/adjustable iframe"</title>
<link>https://www.machform.com/forums/topic/auto-expandadjustable-iframe/page/3#post-22622</link>
<pubDate>Sat, 31 Jan 2015 06:36:49 +0000</pubDate>
<dc:creator>shopkins</dc:creator>
<guid isPermaLink="false">22622@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;br /&#62;
I am having the same problem with iFrame not adjusting. I have added the code to my website, but it appears that&#60;/p&#62;
&#60;p&#62;/machform/js/jquery/jquery-core.js&#60;/p&#62;
&#60;p&#62;does not exist. Please advise.&#60;br /&#62;
Sam
&#60;/p&#62;</description>
</item>
<item>
<title>cr on "Auto expand/adjustable iframe"</title>
<link>https://www.machform.com/forums/topic/auto-expandadjustable-iframe/page/3#post-20393</link>
<pubDate>Fri, 07 Mar 2014 04:43:14 +0000</pubDate>
<dc:creator>cr</dc:creator>
<guid isPermaLink="false">20393@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi very good job, I have a problem with forms, when the page is resized (responsive) the form disappears in the bottom, I tried to embed with (iframe) and (js) with wordpress plugin, thank you for your time&#60;/p&#62;
&#60;p&#62;*I tried to create a class and add height to the iframe but when there is an error message or form, the form expands and the bottom disappears&#60;/p&#62;
&#60;p&#62;Link: &#60;a href=&#34;http://colombiarents.com/en/rent/palmetto-eliptic-cartagena-001/&#34; rel=&#34;nofollow&#34;&#62;http://colombiarents.com/en/rent/palmetto-eliptic-cartagena-001/&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>jakedonahue on "Auto expand/adjustable iframe"</title>
<link>https://www.machform.com/forums/topic/auto-expandadjustable-iframe/page/3#post-13039</link>
<pubDate>Tue, 20 Dec 2011 11:20:23 +0000</pubDate>
<dc:creator>jakedonahue</dc:creator>
<guid isPermaLink="false">13039@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Awesome, this worked perfectly... I just have one small problem. I'm using this on Wordpress, and any page where I have used this code prevents my Menu from letting the Submenu appear. For example, I have a Menu button with three options underneath that appear when you hover over the button. Yet once I get to a page with my Form, those options do not appear... Any ideas?
&#60;/p&#62;</description>
</item>
<item>
<title>beeeno on "Auto expand/adjustable iframe"</title>
<link>https://www.machform.com/forums/topic/auto-expandadjustable-iframe/page/3#post-12767</link>
<pubDate>Mon, 17 Oct 2011 20:49:58 +0000</pubDate>
<dc:creator>beeeno</dc:creator>
<guid isPermaLink="false">12767@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Thanks Yuniar, but I have tried both scripts and cannot get to either to work. Reading on to other contributors it just gets more confusing. I can't use the advanced php code because the forms are on pages created by a page builder feature which uses the same php file as a basis for many pages.&#60;/p&#62;
&#60;p&#62;It seems to me a problem that could do with revising in next version. It is logical that any info on a page filled form fields, text boxes etc is going to be significantly smaller when the data is condensed down to mainly single lines, and so never needs the original iframe size used for the form.&#60;/p&#62;
&#60;p&#62;One workaround that would help problem in my case might be if the 'continue' button on the bottom of the form had a hidden 'go to top of page' code added, so that when review page comes up we are back at top instead of looking at bottom of iframe and blank white screen. Would this work? If so what/where needs inserting?&#60;/p&#62;
&#60;p&#62;Thanks&#60;br /&#62;
Beeeno
&#60;/p&#62;</description>
</item>
<item>
<title>bashfoo on "Auto expand/adjustable iframe"</title>
<link>https://www.machform.com/forums/topic/auto-expandadjustable-iframe/page/3#post-12559</link>
<pubDate>Fri, 09 Sep 2011 03:22:28 +0000</pubDate>
<dc:creator>bashfoo</dc:creator>
<guid isPermaLink="false">12559@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Thanks for the fix. I added the &#60;a href=&#34;http://www.&#34; rel=&#34;nofollow&#34;&#62;www.&#60;/a&#62; to the URI and allowTransparency=&#34;true&#34; and it works great. Thanks for screwing me up Microsoft!
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Auto expand/adjustable iframe"</title>
<link>https://www.machform.com/forums/topic/auto-expandadjustable-iframe/page/3#post-11919</link>
<pubDate>Sat, 30 Apr 2011 17:15:04 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">11919@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Alternatively, you can try renaming your file into PHP file, such as &#34;j3.php&#34; and then use the PHP embed code instead of the iframe code.&#60;/p&#62;
&#60;p&#62;This way you won't need to use any Javascript and the page will scroll right into the top when being submitted.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Auto expand/adjustable iframe"</title>
<link>https://www.machform.com/forums/topic/auto-expandadjustable-iframe/page/3#post-11918</link>
<pubDate>Sat, 30 Apr 2011 17:13:40 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">11918@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I've tested using Firefox and Safari. The javascript works fine and automatically adjust the height of the iframe, based on the iframe content.&#60;/p&#62;
&#60;p&#62;However, it can't really scroll into the top of your HTML page indeed. It only scroll up to the form container.&#60;/p&#62;
&#60;p&#62;Regarding the page which is getting cutoff, I think you can try to add this CSS code into your HTML page CSS file:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;#content_footer{
  clear: both;
}&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>jonb on "Auto expand/adjustable iframe"</title>
<link>https://www.machform.com/forums/topic/auto-expandadjustable-iframe/page/3#post-11915</link>
<pubDate>Sat, 30 Apr 2011 01:01:47 +0000</pubDate>
<dc:creator>jonb</dc:creator>
<guid isPermaLink="false">11915@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;putting it on one line did it, the form is displaying. However,(there is always a however!!) a couple of issues.&#60;/p&#62;
&#60;p&#62;When it goes to the confirmation page, the page starts the display at the bottom, so there is still the need to scroll up.  Also, the html pagethat the form is embedded into  is longer than the form(confirmation page) length, so the rest of the page is getting cutoff. &#60;/p&#62;
&#60;p&#62;I also tested in safari, another little quirk, is when it goes to the confirmation page, (which is shorter than the actual form) the remaining part of the form still shows on the confirmation page.(you kinda gotta try it to see what i mean).&#60;/p&#62;
&#60;p&#62;go ahead a test it all you want.&#60;/p&#62;
&#60;p&#62;thanks&#60;br /&#62;
j
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Auto expand/adjustable iframe"</title>
<link>https://www.machform.com/forums/topic/auto-expandadjustable-iframe/page/3#post-11909</link>
<pubDate>Fri, 29 Apr 2011 20:33:49 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">11909@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Ok, there are two problems there.&#60;/p&#62;
&#60;p&#62;1) The iframe code is referring to &#60;a href=&#34;http://www.biyc.bc.ca&#34; rel=&#34;nofollow&#34;&#62;www.biyc.bc.ca&#60;/a&#62; while the URL above doesn't use www&#60;br /&#62;
Both are considered as separate subdomains, thus the Javascript won't work due to browser security limitation.&#60;/p&#62;
&#60;p&#62;You will need to access it using this URL instead:&#60;br /&#62;
&#60;a href=&#34;http://www.biyc.bc.ca/j3.html&#34; rel=&#34;nofollow&#34;&#62;http://www.biyc.bc.ca/j3.html&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;2) Try to change your current code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$(&#38;quot;#frame_marker&#38;quot;).after(&#38;#39;&#38;lt;iframe height=&#38;quot;1&#38;quot; id=&#38;quot;my_iframe&#38;quot;
allowTransparency=&#38;quot;true&#38;quot; frameborder=&#38;quot;0&#38;quot;
scrolling=&#38;quot;no&#38;quot; style=&#38;quot;width:100%;border:none&#38;quot;
src=&#38;quot;&#38;quot; title=&#38;quot;form&#38;quot;&#38;gt;machform&#38;lt;/iframe&#38;gt;&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;adjust the above code and make it into one line instead of 4 lines.
&#60;/p&#62;</description>
</item>
<item>
<title>jonb on "Auto expand/adjustable iframe"</title>
<link>https://www.machform.com/forums/topic/auto-expandadjustable-iframe/page/3#post-11906</link>
<pubDate>Thu, 28 Apr 2011 23:37:59 +0000</pubDate>
<dc:creator>jonb</dc:creator>
<guid isPermaLink="false">11906@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I made the change, but still get a blank screen. &#60;/p&#62;
&#60;p&#62;This is the test html I am using: &#60;a href=&#34;http://biyc.bc.ca/j3.html&#34; rel=&#34;nofollow&#34;&#62;http://biyc.bc.ca/j3.html&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;the actual one that is working(except on safari) is:http://biyc.bc.ca/rbrreg.php
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Auto expand/adjustable iframe"</title>
<link>https://www.machform.com/forums/topic/auto-expandadjustable-iframe/page/3#post-11901</link>
<pubDate>Thu, 28 Apr 2011 14:27:35 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">11901@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Oops... sorry about that.&#60;br /&#62;
It should be the path to jquery-core.js&#60;/p&#62;
&#60;p&#62;So the path for you should be:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.biyc.bc.ca/machform/js/jquery/jquery-core.js&#34; rel=&#34;nofollow&#34;&#62;http://www.biyc.bc.ca/machform/js/jquery/jquery-core.js&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>jonb on "Auto expand/adjustable iframe"</title>
<link>https://www.machform.com/forums/topic/auto-expandadjustable-iframe/page/3#post-11897</link>
<pubDate>Thu, 28 Apr 2011 01:00:03 +0000</pubDate>
<dc:creator>jonb</dc:creator>
<guid isPermaLink="false">11897@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I did try it and got a blank page(yes I changed the url specific info). On further investigation, i found that the link&#60;br /&#62;
&#38;lt;script src=&#34;http://www.biyc.bc.ca/machform/js/jquery.js&#34;&#38;gt;&#38;lt;/script&#38;gt; is not found.&#60;/p&#62;
&#60;p&#62; I looked in the folder under js and there is no jquery.js. There is base.js, calendar.js,email_entry.js,machform.js,rico.js,view.js, and a jquery sub directory.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Auto expand/adjustable iframe"</title>
<link>https://www.machform.com/forums/topic/auto-expandadjustable-iframe/page/2#post-11886</link>
<pubDate>Tue, 26 Apr 2011 12:13:10 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">11886@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;jonb -- have you tried the new javascript code I've posted on the first page?
&#60;/p&#62;</description>
</item>
<item>
<title>jonb on "Auto expand/adjustable iframe"</title>
<link>https://www.machform.com/forums/topic/auto-expandadjustable-iframe/page/2#post-11880</link>
<pubDate>Tue, 26 Apr 2011 01:25:36 +0000</pubDate>
<dc:creator>jonb</dc:creator>
<guid isPermaLink="false">11880@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I thought I was having similar problem, going from form entry screen to review screen, I had to scroll up to see the review screen.  But I found that this was only happening using Safari. I tested, IE, firefox, chrome, all worked fine placing the user at the top of the review screen. Anyone have any fixes for safari. I am using iframe embeded in page. &#60;/p&#62;
&#60;p&#62;cheers&#60;br /&#62;
j
&#60;/p&#62;</description>
</item>
<item>
<title>nealchester on "Auto expand/adjustable iframe"</title>
<link>https://www.machform.com/forums/topic/auto-expandadjustable-iframe/page/2#post-11879</link>
<pubDate>Mon, 25 Apr 2011 23:08:55 +0000</pubDate>
<dc:creator>nealchester</dc:creator>
<guid isPermaLink="false">11879@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Thanks Yuniar,&#60;br /&#62;
Your suggestion worked! Your form system is by far the best.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Auto expand/adjustable iframe"</title>
<link>https://www.machform.com/forums/topic/auto-expandadjustable-iframe/page/2#post-11877</link>
<pubDate>Mon, 25 Apr 2011 13:10:00 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">11877@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Try to change this code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$(&#38;quot;#frame_marker&#38;quot;).after(&#38;#39;&#38;lt;iframe height=&#38;quot;1&#38;quot; id=&#38;quot;my_iframe&#38;quot;
allowTransparency=&#38;quot;true&#38;quot; frameborder=&#38;quot;0&#38;quot;
scrolling=&#38;quot;no&#38;quot; style=&#38;quot;width:100%;border:none&#38;quot;
src=&#38;quot;&#38;quot; title=&#38;quot;form&#38;quot;&#38;gt;machform&#38;lt;/iframe&#38;gt;&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;make them into a single line.
&#60;/p&#62;</description>
</item>
<item>
<title>nealchester on "Auto expand/adjustable iframe"</title>
<link>https://www.machform.com/forums/topic/auto-expandadjustable-iframe/page/2#post-11874</link>
<pubDate>Sun, 24 Apr 2011 02:54:52 +0000</pubDate>
<dc:creator>nealchester</dc:creator>
<guid isPermaLink="false">11874@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Greetings Yuniar,&#60;br /&#62;
I purchased your form system a while back and it works great. I just checked this page and found that you updated the auto expand script. I was wondering how to get it to work.&#60;br /&#62;
Currently I use Jquery which is already in my &#38;lt;head&#38;gt;. It's being minified along with other scripts. So I don't think that the jquery is broken because all my other scripts are working just fine, and they're Jquery dependent.&#60;/p&#62;
&#60;p&#62;The other part of your code I put on my page (I'm using WordPress on code view) and nothing but the div shows up. it looks like this in the code: &#60;/p&#62;
&#60;p&#62;&#38;lt;div id=&#34;frame_marker&#34; style=&#34;display:none&#34;&#38;gt;&#38;lt;/div&#38;gt;&#60;/p&#62;
&#60;p&#62;here's the page: &#60;a href=&#34;http://ikwebdesigner.com/contact/details/&#34; rel=&#34;nofollow&#34;&#62;http://ikwebdesigner.com/contact/details/&#60;/a&#62;&#60;br /&#62;
I currently have the regular iframe code on there. So if this was to work it would be duplicate forms, but the auto-expand-adjustable isn't showing up. I also tried your code without the standard iframe code on the page and still doesn't show up.&#60;/p&#62;
&#60;p&#62;I'm not sure what the problem is. All your help is appreciated.&#60;/p&#62;
&#60;p&#62;BTW: you helped me before by getting the PHP version of the embed code to work in WP. After WP upgraded to 3.1.1 it didn't work any more. So Now, I'll just use the iFrame version.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Auto expand/adjustable iframe"</title>
<link>https://www.machform.com/forums/topic/auto-expandadjustable-iframe/page/2#post-11841</link>
<pubDate>Sat, 16 Apr 2011 18:18:22 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">11841@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I think you can use the HTML Snippet widget using iWeb to insert Javascript code.&#60;br /&#62;
I've updated the code on the first page, try to use the code here:&#60;br /&#62;
&#60;a href=&#34;http://www.appnitro.com/forums/topic/auto-expandadjustable-iframe?replies=34#post-3049&#34; rel=&#34;nofollow&#34;&#62;http://www.appnitro.com/forums/topic/auto-expandadjustable-iframe?replies=34#post-3049&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>klaus789 on "Auto expand/adjustable iframe"</title>
<link>https://www.machform.com/forums/topic/auto-expandadjustable-iframe/page/2#post-11834</link>
<pubDate>Fri, 15 Apr 2011 15:48:33 +0000</pubDate>
<dc:creator>klaus789</dc:creator>
<guid isPermaLink="false">11834@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I'm having the same problem: when form editing is completed and i hit &#34;continue&#34;, the user has to scoll up in order to confirm.&#60;br /&#62;
I'm using iWeb - so I can't insert javascript and php code. Any other suggestions that can solve this problem?&#60;br /&#62;
Thx! Klaus
&#60;/p&#62;</description>
</item>

</channel>
</rss>
