<?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: Resizing iframes using easyXDM</title>
	<atom:link href="http://kinsey.no/blog/index.php/2010/02/19/resizing-iframes-using-easyxdm/feed/" rel="self" type="application/rss+xml" />
	<link>http://kinsey.no/blog/index.php/2010/02/19/resizing-iframes-using-easyxdm/</link>
	<description>Because I want to be like the cool kids too</description>
	<lastBuildDate>Fri, 03 Feb 2012 05:39:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Srajus84</title>
		<link>http://kinsey.no/blog/index.php/2010/02/19/resizing-iframes-using-easyxdm/comment-page-1/#comment-723</link>
		<dc:creator>Srajus84</dc:creator>
		<pubDate>Sat, 21 Jan 2012 21:13:00 +0000</pubDate>
		<guid isPermaLink="false">http://kinsey.no/blog/?p=252#comment-723</guid>
		<description>Hi Kinsey,
I have few doubts in iframe. I have one jsp file which includes iframe. 
For example, 
In index1.jsp, i used like this

Note: I have use IFrameHandler.js,IFrameCaller.js in my application. I called these js in index1.jsp.

I want to call this index1.jsp in different application. So i used like this

In index2.jsp


But my problem is, i am not able to getÂ  full page of main.html. I cannot able to resize the frame.

I dont know the problem. This is the function which i used forÂ  resizeIframe present inÂ  (IFrameHandler.js)

function resizeIframe(calledByElement) {

Â Â Â  var allIFrames = document.getElementsByTagName(&quot;iframe&quot;);
Â Â Â  alert(allIFrames[0].contentDocument.body.innerHTML);
Â Â Â  //var allIFrames = document.getElementById(&quot;contentiframe&quot;);
Â Â Â  //alert(allIFrames.contentDocument.body.innerHTML);
Â Â Â  //alert(allIFrames.contentDocument.body.innerHTML);
Â Â Â  for(var i = 0; i  0) {
Â Â Â  Â Â Â  Â Â Â  IFrameElement.height = sourceHeight;Â Â Â  Â Â Â  
Â Â Â  Â Â Â  }
Â Â Â  }
Â Â Â  Â Â Â  
Â Â Â  // hack for IE6 to re-render the footer. (otherwise it&#039;ll be placed wrong after resizing iframe)
Â Â Â  var footerElement = document.getElementById(&quot;footer&quot;);
Â Â Â  footerElement.style.display = &quot;none&quot;;
Â Â Â  footerElement.style.display = &quot;block&quot;;
}

Please do needful help.


</description>
		<content:encoded><![CDATA[<p>Hi Kinsey,<br />
I have few doubts in iframe. I have one jsp file which includes iframe.<br />
For example,<br />
In index1.jsp, i used like this</p>
<p>Note: I have use IFrameHandler.js,IFrameCaller.js in my application. I called these js in index1.jsp.</p>
<p>I want to call this index1.jsp in different application. So i used like this</p>
<p>In index2.jsp</p>
<p>But my problem is, i am not able to getÂ  full page of main.html. I cannot able to resize the frame.</p>
<p>I dont know the problem. This is the function which i used forÂ  resizeIframe present inÂ  (IFrameHandler.js)</p>
<p>function resizeIframe(calledByElement) {</p>
<p>Â Â Â  var allIFrames = document.getElementsByTagName(&#8220;iframe&#8221;);<br />
Â Â Â  alert(allIFrames[0].contentDocument.body.innerHTML);<br />
Â Â Â  //var allIFrames = document.getElementById(&#8220;contentiframe&#8221;);<br />
Â Â Â  //alert(allIFrames.contentDocument.body.innerHTML);<br />
Â Â Â  //alert(allIFrames.contentDocument.body.innerHTML);<br />
Â Â Â  for(var i = 0; i  0) {<br />
Â Â Â  Â Â Â  Â Â Â  IFrameElement.height = sourceHeight;Â Â Â  Â Â Â<br />
Â Â Â  Â Â Â  }<br />
Â Â Â  }<br />
Â Â Â  Â Â Â<br />
Â Â Â  // hack for IE6 to re-render the footer. (otherwise it&#8217;ll be placed wrong after resizing iframe)<br />
Â Â Â  var footerElement = document.getElementById(&#8220;footer&#8221;);<br />
Â Â Â  footerElement.style.display = &#8220;none&#8221;;<br />
Â Â Â  footerElement.style.display = &#8220;block&#8221;;<br />
}</p>
<p>Please do needful help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: okinsey</title>
		<link>http://kinsey.no/blog/index.php/2010/02/19/resizing-iframes-using-easyxdm/comment-page-1/#comment-485</link>
		<dc:creator>okinsey</dc:creator>
		<pubDate>Tue, 29 Jun 2010 06:51:24 +0000</pubDate>
		<guid isPermaLink="false">http://kinsey.no/blog/?p=252#comment-485</guid>
		<description>This is old code that was deprecated a long time ago :) Please follow the samples at the official site :) 
I&#039;ll follow up on email! </description>
		<content:encoded><![CDATA[<p>This is old code that was deprecated a long time ago <img src='http://kinsey.no/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Please follow the samples at the official site <img src='http://kinsey.no/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
I&#039;ll follow up on email!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shane</title>
		<link>http://kinsey.no/blog/index.php/2010/02/19/resizing-iframes-using-easyxdm/comment-page-1/#comment-484</link>
		<dc:creator>shane</dc:creator>
		<pubDate>Tue, 29 Jun 2010 06:40:41 +0000</pubDate>
		<guid isPermaLink="false">http://kinsey.no/blog/?p=252#comment-484</guid>
		<description>Hi there. I have tried using this code from the examples provided and it doesn&#039;t not work at all.   
All i get is a frame that doesn&#039;t show all the content.  Is there anywhere i can get a hold of an example of two files working with the resized iframe, without all of the domain switching code / google analytics code which is in the examples provided.   </description>
		<content:encoded><![CDATA[<p>Hi there. I have tried using this code from the examples provided and it doesn&#039;t not work at all.<br />
All i get is a frame that doesn&#039;t show all the content.  Is there anywhere i can get a hold of an example of two files working with the resized iframe, without all of the domain switching code / google analytics code which is in the examples provided.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

