<?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: jQuery : Auto iFrame Height</title>
	<atom:link href="http://www.lost-in-code.com/programming/jquery-auto-iframe-height/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lost-in-code.com/programming/jquery-auto-iframe-height/</link>
	<description>Web Development Resources</description>
	<lastBuildDate>Tue, 23 Feb 2010 08:17:48 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: loll</title>
		<link>http://www.lost-in-code.com/programming/jquery-auto-iframe-height/comment-page-2/#comment-807</link>
		<dc:creator>loll</dc:creator>
		<pubDate>Mon, 15 Feb 2010 23:25:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/?p=221#comment-807</guid>
		<description>I was able to get this to work, only, if i load a page in the iframe that is large, from then on the iframe is always large. so while it enlarges to the full height of the pages, it never decreases in size when a small page is loaded. IS there a way around this?</description>
		<content:encoded><![CDATA[<p>I was able to get this to work, only, if i load a page in the iframe that is large, from then on the iframe is always large. so while it enlarges to the full height of the pages, it never decreases in size when a small page is loaded. IS there a way around this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rizwan Ullah</title>
		<link>http://www.lost-in-code.com/programming/jquery-auto-iframe-height/comment-page-2/#comment-803</link>
		<dc:creator>Rizwan Ullah</dc:creator>
		<pubDate>Thu, 11 Feb 2010 07:34:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/?p=221#comment-803</guid>
		<description>Possible solution for cross domain iFrame height problem.
---------------------------------------------------------


    

    

    
        jQuery(document).ready(function($) {
            resizeWindow();
            function resizeWindow() {
                var height = $(window).height();
                $(&quot;#iFrameRapper&quot;).height(height);
            };
            var resizeTimer = null;
            $(window).bind(&#039;resize&#039;, function() {
                if (resizeTimer) clearTimeout(resizeTimer);
                resizeTimer = setTimeout(resizeWindow, 100);
            });
        });
    

    
        html, body
        {
            overflow: auto;
        }
    


    
        
        
    

</description>
		<content:encoded><![CDATA[<p>Possible solution for cross domain iFrame height problem.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>        jQuery(document).ready(function($) {<br />
            resizeWindow();<br />
            function resizeWindow() {<br />
                var height = $(window).height();<br />
                $(&#8221;#iFrameRapper&#8221;).height(height);<br />
            };<br />
            var resizeTimer = null;<br />
            $(window).bind(&#8217;resize&#8217;, function() {<br />
                if (resizeTimer) clearTimeout(resizeTimer);<br />
                resizeTimer = setTimeout(resizeWindow, 100);<br />
            });<br />
        });</p>
<p>        html, body<br />
        {<br />
            overflow: auto;<br />
        }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Troy</title>
		<link>http://www.lost-in-code.com/programming/jquery-auto-iframe-height/comment-page-2/#comment-798</link>
		<dc:creator>Troy</dc:creator>
		<pubDate>Sat, 06 Feb 2010 19:56:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/?p=221#comment-798</guid>
		<description>IE8 has a problem with the autoheight... Firefox works great.
The &quot;REAL&quot; problem I have is that when you click a link within the iframe, wherever you clicked that link (i.e midpage) the new page opens up mid page instead of at the top of the newly opened page.
Is there a work-around for that problem?</description>
		<content:encoded><![CDATA[<p>IE8 has a problem with the autoheight&#8230; Firefox works great.<br />
The &#8220;REAL&#8221; problem I have is that when you click a link within the iframe, wherever you clicked that link (i.e midpage) the new page opens up mid page instead of at the top of the newly opened page.<br />
Is there a work-around for that problem?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.lost-in-code.com/programming/jquery-auto-iframe-height/comment-page-2/#comment-797</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Fri, 05 Feb 2010 21:05:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/?p=221#comment-797</guid>
		<description>Great script! Just saved me so much time, efforts and everything! BIG THANKS! Awesome job!</description>
		<content:encoded><![CDATA[<p>Great script! Just saved me so much time, efforts and everything! BIG THANKS! Awesome job!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nabeel Faruqui</title>
		<link>http://www.lost-in-code.com/programming/jquery-auto-iframe-height/comment-page-2/#comment-792</link>
		<dc:creator>Nabeel Faruqui</dc:creator>
		<pubDate>Wed, 27 Jan 2010 12:31:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/?p=221#comment-792</guid>
		<description>Its a great plugin. However some issues i.e. with performance. I have resolved it with the following code. May be helpful to you all

obj.detachEvent(&quot;on&quot; + evType, fn);
var r = obj.attachEvent(&quot;on&quot;+evType, fn);
return r;

Remember to detach the event before attaching. This way we avoid multiple attachements and hence performance is improved.

Thanks</description>
		<content:encoded><![CDATA[<p>Its a great plugin. However some issues i.e. with performance. I have resolved it with the following code. May be helpful to you all</p>
<p>obj.detachEvent(&#8221;on&#8221; + evType, fn);<br />
var r = obj.attachEvent(&#8221;on&#8221;+evType, fn);<br />
return r;</p>
<p>Remember to detach the event before attaching. This way we avoid multiple attachements and hence performance is improved.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Muzza</title>
		<link>http://www.lost-in-code.com/programming/jquery-auto-iframe-height/comment-page-2/#comment-788</link>
		<dc:creator>Muzza</dc:creator>
		<pubDate>Fri, 22 Jan 2010 01:41:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/?p=221#comment-788</guid>
		<description>Works like a charm, thanks Muz!</description>
		<content:encoded><![CDATA[<p>Works like a charm, thanks Muz!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nikola</title>
		<link>http://www.lost-in-code.com/programming/jquery-auto-iframe-height/comment-page-1/#comment-781</link>
		<dc:creator>Nikola</dc:creator>
		<pubDate>Sun, 17 Jan 2010 02:11:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/?p=221#comment-781</guid>
		<description>Tnx for the code... It save me lot of time!</description>
		<content:encoded><![CDATA[<p>Tnx for the code&#8230; It save me lot of time!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raj Gohil</title>
		<link>http://www.lost-in-code.com/programming/jquery-auto-iframe-height/comment-page-1/#comment-747</link>
		<dc:creator>Raj Gohil</dc:creator>
		<pubDate>Mon, 21 Dec 2009 16:40:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/?p=221#comment-747</guid>
		<description>Thanks for sharing your code, it worked for me.</description>
		<content:encoded><![CDATA[<p>Thanks for sharing your code, it worked for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yousuf</title>
		<link>http://www.lost-in-code.com/programming/jquery-auto-iframe-height/comment-page-1/#comment-739</link>
		<dc:creator>Yousuf</dc:creator>
		<pubDate>Fri, 18 Dec 2009 11:26:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/?p=221#comment-739</guid>
		<description>Really appreciated ...

thanks so much</description>
		<content:encoded><![CDATA[<p>Really appreciated &#8230;</p>
<p>thanks so much</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Francisco</title>
		<link>http://www.lost-in-code.com/programming/jquery-auto-iframe-height/comment-page-1/#comment-727</link>
		<dc:creator>Francisco</dc:creator>
		<pubDate>Fri, 11 Dec 2009 03:01:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/?p=221#comment-727</guid>
		<description>Thanks!!
That worked for me (also using the David Vasquez workaround to fix the IE8 issue).
Tested in Firefox 3.5, IE8, Chrome 3.0, Safari 4.0.</description>
		<content:encoded><![CDATA[<p>Thanks!!<br />
That worked for me (also using the David Vasquez workaround to fix the IE8 issue).<br />
Tested in Firefox 3.5, IE8, Chrome 3.0, Safari 4.0.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->