<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[PunBB Forums - Iframe integration]]></title>
		<link>http://punbb.informer.com/forums/topic/21306/iframe-integration/</link>
		<description><![CDATA[The most recent posts in Iframe integration.]]></description>
		<lastBuildDate>Sat, 14 Mar 2009 15:59:43 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Iframe integration]]></title>
			<link>http://punbb.informer.com/forums/post/125644/#p125644</link>
			<description><![CDATA[<p>I&#039;ve integrated punBB 1.3 forum into iframe on my site - this works fine, however<br />I would like also the iframe to dinamically resize only height when navigating trough forum.</p><p>Currently I&#039;ve setup a light javascript:<br /></p><div class="codebox"><pre><code>&lt;script type=&quot;text/javascript&quot;&gt;
    function resizeFrame(f) {
        alert(&quot;tesr&quot;);
        f.style.height = f.contentWindow.document.body.scrollHeight + &quot;px&quot;;
    }
    resizeFrame(document.getElementById(&#039;forum&#039;));
&lt;/script&gt;</code></pre></div><p>Which does the job, but unfortunately it is called just once - when forum is loaded.<br />How could I possibly make it refresh height everytime something inside iframe changes?</p>]]></description>
			<author><![CDATA[dummy@example.com (kriko)]]></author>
			<pubDate>Sat, 14 Mar 2009 15:59:43 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/125644/#p125644</guid>
		</item>
	</channel>
</rss>
