<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Adapting iframe height to its content with 2 lines of javascript</title>
	<atom:link href="http://www.daveoncode.com/2009/06/12/adapting-iframe-height-to-its-content-with-2-lines-of-javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.daveoncode.com/2009/06/12/adapting-iframe-height-to-its-content-with-2-lines-of-javascript/</link>
	<description>Objective C, iOS and more programming stuff</description>
	<lastBuildDate>Fri, 03 Feb 2012 17:32:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Davide Zanotti</title>
		<link>http://www.daveoncode.com/2009/06/12/adapting-iframe-height-to-its-content-with-2-lines-of-javascript/comment-page-1/#comment-20484</link>
		<dc:creator>Davide Zanotti</dc:creator>
		<pubDate>Mon, 16 May 2011 07:14:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.daveoncode.com/?p=435#comment-20484</guid>
		<description>Is not possible without js</description>
		<content:encoded><![CDATA[<p>Is not possible without js</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://www.daveoncode.com/2009/06/12/adapting-iframe-height-to-its-content-with-2-lines-of-javascript/comment-page-1/#comment-20471</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Sun, 15 May 2011 21:42:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.daveoncode.com/?p=435#comment-20471</guid>
		<description>Do you have a way to do this without javascript?</description>
		<content:encoded><![CDATA[<p>Do you have a way to do this without javascript?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Max</title>
		<link>http://www.daveoncode.com/2009/06/12/adapting-iframe-height-to-its-content-with-2-lines-of-javascript/comment-page-1/#comment-6312</link>
		<dc:creator>Max</dc:creator>
		<pubDate>Tue, 08 Jun 2010 22:39:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.daveoncode.com/?p=435#comment-6312</guid>
		<description>&lt;blockquote&gt;
&lt;a href=&quot;#comment-3299&quot; rel=&quot;nofollow&quot;&gt;
&lt;strong&gt;&lt;em&gt;Charles:&lt;/em&gt;&lt;/strong&gt;
&lt;/a&gt;
 I am at a loss as to why this is not working.  Please advise!
I have inserted all the data as you have stated, yet still am having no luck in regards to having the iframe extend to 100% of the height of the page being iframed into the site.  
Here is my  code:
And at the top of the page before the  tag I input this:
function resizeIframe(iframeID) {
    var iframe = window.parent.document.getElementById(iframeID);
    var container = document.getElementById(“content”);
    iframe.style.height = container.offsetHeight + “px”;
}
//–&gt;
Thanks for the help-
Charles
&lt;/blockquote&gt;


You might need the javascript tags to wrap this code.</description>
		<content:encoded><![CDATA[<blockquote><p>
<a href="#comment-3299" rel="nofollow"><br />
<strong><em>Charles:</em></strong><br />
</a><br />
 I am at a loss as to why this is not working.  Please advise!<br />
I have inserted all the data as you have stated, yet still am having no luck in regards to having the iframe extend to 100% of the height of the page being iframed into the site.<br />
Here is my  code:<br />
And at the top of the page before the  tag I input this:<br />
function resizeIframe(iframeID) {<br />
    var iframe = window.parent.document.getElementById(iframeID);<br />
    var container = document.getElementById(“content”);<br />
    iframe.style.height = container.offsetHeight + “px”;<br />
}<br />
//–&gt;<br />
Thanks for the help-<br />
Charles
</p></blockquote>
<p>You might need the javascript tags to wrap this code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Davide Zanotti</title>
		<link>http://www.daveoncode.com/2009/06/12/adapting-iframe-height-to-its-content-with-2-lines-of-javascript/comment-page-1/#comment-3307</link>
		<dc:creator>Davide Zanotti</dc:creator>
		<pubDate>Fri, 16 Oct 2009 07:49:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.daveoncode.com/?p=435#comment-3307</guid>
		<description>You can&#039;t write code directly in the messages, give me a link to your test instead ;-)</description>
		<content:encoded><![CDATA[<p>You can&#8217;t write code directly in the messages, give me a link to your test instead ;-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charles</title>
		<link>http://www.daveoncode.com/2009/06/12/adapting-iframe-height-to-its-content-with-2-lines-of-javascript/comment-page-1/#comment-3300</link>
		<dc:creator>Charles</dc:creator>
		<pubDate>Thu, 15 Oct 2009 17:12:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.daveoncode.com/?p=435#comment-3300</guid>
		<description>Opps....it cut out my code.  Here is the code:




</description>
		<content:encoded><![CDATA[<p>Opps&#8230;.it cut out my code.  Here is the code:</p>
]]></content:encoded>
	</item>
</channel>
</rss>

