<?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: No iFrames! Dynamically Resize Divs with jQuery.</title>
	<atom:link href="http://blog.softlayer.com/2012/no-iframes-dynamically-resize-divs-with-jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.softlayer.com/2012/no-iframes-dynamically-resize-divs-with-jquery/</link>
	<description>A Behind the Scenes Look at the Best Hosting Provider in the World</description>
	<lastBuildDate>Fri, 17 May 2013 09:41:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.1</generator>
	<item>
		<title>By: Shankar</title>
		<link>http://blog.softlayer.com/2012/no-iframes-dynamically-resize-divs-with-jquery/comment-page-1/#comment-47335</link>
		<dc:creator>Shankar</dc:creator>
		<pubDate>Sun, 07 Apr 2013 23:06:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.softlayer.com/?p=8988#comment-47335</guid>
		<description>Hi Ian,

I would love to not use an iframe but I have a requirement to embed a pdf or tif into a html.
Is it possible to do it without using an iframe or object? 

Kind Regards,
Shankar</description>
		<content:encoded><![CDATA[<p>Hi Ian,</p>
<p>I would love to not use an iframe but I have a requirement to embed a pdf or tif into a html.<br />
Is it possible to do it without using an iframe or object? </p>
<p>Kind Regards,<br />
Shankar</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tumba</title>
		<link>http://blog.softlayer.com/2012/no-iframes-dynamically-resize-divs-with-jquery/comment-page-1/#comment-44759</link>
		<dc:creator>tumba</dc:creator>
		<pubDate>Wed, 14 Nov 2012 21:16:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.softlayer.com/?p=8988#comment-44759</guid>
		<description>this tutorial is very helpfully thank you so much</description>
		<content:encoded><![CDATA[<p>this tutorial is very helpfully thank you so much</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tips and Tricks &#8211; jQuery equalHeights Plugin &#8211; SoftLayer Blog</title>
		<link>http://blog.softlayer.com/2012/no-iframes-dynamically-resize-divs-with-jquery/comment-page-1/#comment-42254</link>
		<dc:creator>Tips and Tricks &#8211; jQuery equalHeights Plugin &#8211; SoftLayer Blog</dc:creator>
		<pubDate>Thu, 06 Sep 2012 20:05:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.softlayer.com/?p=8988#comment-42254</guid>
		<description>[...] month, I posted a blog about dynamically resizing divs with jQuery, and we received a lot of positive feedback about it. My quest to avoid iframes proved to be [...]</description>
		<content:encoded><![CDATA[<p>[...] month, I posted a blog about dynamically resizing divs with jQuery, and we received a lot of positive feedback about it. My quest to avoid iframes proved to be [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cassandra Wolff</title>
		<link>http://blog.softlayer.com/2012/no-iframes-dynamically-resize-divs-with-jquery/comment-page-1/#comment-41562</link>
		<dc:creator>Cassandra Wolff</dc:creator>
		<pubDate>Fri, 10 Aug 2012 20:12:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.softlayer.com/?p=8988#comment-41562</guid>
		<description>Hi Ian!

I have minimal experience with dynamic iframes, however I just wrote this up pretty quick and tested it. Hopefully this will help:

You can attach an ID to an iframe element just as you can with Divs, like so: 

&lt;pre lang=&quot;php&quot;&gt;&lt;iframe src=&quot;http://softlayer.com&quot; id=&quot;iframewidget&quot;&gt; &lt;/iframe&gt;&lt;/pre&gt;

And then apply necessary dynamic resizing via JQuery:

&lt;pre lang=&quot;javascript&quot;&gt;var setHeight = document.body.scrollHeight; // this will get the height of the scrollable area of the browser

$(&#039;#iframewidget&#039;).height(setHeight);&lt;/pre&gt;

Hope this helps!</description>
		<content:encoded><![CDATA[<p>Hi Ian!</p>
<p>I have minimal experience with dynamic iframes, however I just wrote this up pretty quick and tested it. Hopefully this will help:</p>
<p>You can attach an ID to an iframe element just as you can with Divs, like so:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>iframe src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;http://softlayer.com&quot;</span> id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;iframewidget&quot;</span><span style="color: #339933;">&gt;</span> <span style="color: #339933;">&lt;/</span>iframe<span style="color: #339933;">&gt;</span></pre></div></div>

<p>And then apply necessary dynamic resizing via JQuery:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> setHeight <span style="color: #339933;">=</span> document.<span style="color: #660066;">body</span>.<span style="color: #660066;">scrollHeight</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">// this will get the height of the scrollable area of the browser</span>
&nbsp;
$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#iframewidget'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">height</span><span style="color: #009900;">&#40;</span>setHeight<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Hope this helps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian</title>
		<link>http://blog.softlayer.com/2012/no-iframes-dynamically-resize-divs-with-jquery/comment-page-1/#comment-41511</link>
		<dc:creator>Ian</dc:creator>
		<pubDate>Thu, 09 Aug 2012 16:06:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.softlayer.com/?p=8988#comment-41511</guid>
		<description>Great tip. Have bookmarked this reference where I can use Div tags. For a current project, I need to dynamically re-size an iframe from a supplier (their content has differing height). They only supply their widget in an iframe. What is the easiest way to do this without having to implement too much code on both ends?</description>
		<content:encoded><![CDATA[<p>Great tip. Have bookmarked this reference where I can use Div tags. For a current project, I need to dynamically re-size an iframe from a supplier (their content has differing height). They only supply their widget in an iframe. What is the easiest way to do this without having to implement too much code on both ends?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
