<?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: Implementing iFrame Toolbar</title>
	<atom:link href="http://www.amirharel.com/2009/07/28/implementing-iframe-toolbar/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.amirharel.com/2009/07/28/implementing-iframe-toolbar/</link>
	<description>Tales of a JavaScript Ninja</description>
	<lastBuildDate>Fri, 23 Jul 2010 14:40:55 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: AU</title>
		<link>http://www.amirharel.com/2009/07/28/implementing-iframe-toolbar/comment-page-1/#comment-153</link>
		<dc:creator>AU</dc:creator>
		<pubDate>Fri, 23 Jul 2010 14:40:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.amirharel.com/?p=44#comment-153</guid>
		<description>Rolle, were you able to get the side bar working?</description>
		<content:encoded><![CDATA[<p>Rolle, were you able to get the side bar working?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AU</title>
		<link>http://www.amirharel.com/2009/07/28/implementing-iframe-toolbar/comment-page-1/#comment-152</link>
		<dc:creator>AU</dc:creator>
		<pubDate>Fri, 23 Jul 2010 12:44:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.amirharel.com/?p=44#comment-152</guid>
		<description>Great tutorial! It&#039;s working for me.  Before I dive into the code, how would I implement a second iframe as a footer that has this functionality. &lt;br&gt;&lt;br&gt;Thanks!</description>
		<content:encoded><![CDATA[<p>Great tutorial! It&#39;s working for me.  Before I dive into the code, how would I implement a second iframe as a footer that has this functionality. </p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anish Bansal</title>
		<link>http://www.amirharel.com/2009/07/28/implementing-iframe-toolbar/comment-page-1/#comment-141</link>
		<dc:creator>Anish Bansal</dc:creator>
		<pubDate>Wed, 14 Jul 2010 09:17:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.amirharel.com/?p=44#comment-141</guid>
		<description>Great. It works like a charm. You saved me man!!</description>
		<content:encoded><![CDATA[<p>Great. It works like a charm. You saved me man!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amir Harel</title>
		<link>http://www.amirharel.com/2009/07/28/implementing-iframe-toolbar/comment-page-1/#comment-136</link>
		<dc:creator>Amir Harel</dc:creator>
		<pubDate>Sat, 10 Jul 2010 17:18:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.amirharel.com/?p=44#comment-136</guid>
		<description>Hi Dennis,
There is a way to break the frame in Javascript, and it goes something like this:
if (top.location != location) {
    top.location.href = document.location.href ;
  }

I guess this site is implementing something similar 

Amir</description>
		<content:encoded><![CDATA[<p>Hi Dennis,<br />
There is a way to break the frame in Javascript, and it goes something like this:<br />
if (top.location != location) {<br />
    top.location.href = document.location.href ;<br />
  }</p>
<p>I guess this site is implementing something similar </p>
<p>Amir</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amir Harel</title>
		<link>http://www.amirharel.com/2009/07/28/implementing-iframe-toolbar/comment-page-1/#comment-139</link>
		<dc:creator>Amir Harel</dc:creator>
		<pubDate>Sat, 10 Jul 2010 16:38:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.amirharel.com/?p=44#comment-139</guid>
		<description>You don&#039;t have access to the iframe code so you can&#039;t enforce that.</description>
		<content:encoded><![CDATA[<p>You don&#39;t have access to the iframe code so you can&#39;t enforce that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis Short</title>
		<link>http://www.amirharel.com/2009/07/28/implementing-iframe-toolbar/comment-page-1/#comment-138</link>
		<dc:creator>Dennis Short</dc:creator>
		<pubDate>Sat, 10 Jul 2010 16:24:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.amirharel.com/?p=44#comment-138</guid>
		<description>Thanks Amir, so I guess there&#039;s no way to override that. Maybe I can detect that code on the page somehow and spawn a popup with my toolbar stuff instead?</description>
		<content:encoded><![CDATA[<p>Thanks Amir, so I guess there&#39;s no way to override that. Maybe I can detect that code on the page somehow and spawn a popup with my toolbar stuff instead?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amir Harel</title>
		<link>http://www.amirharel.com/2009/07/28/implementing-iframe-toolbar/comment-page-1/#comment-137</link>
		<dc:creator>Amir Harel</dc:creator>
		<pubDate>Sat, 10 Jul 2010 16:20:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.amirharel.com/?p=44#comment-137</guid>
		<description>Hi Dennis,&lt;br&gt;There is a way to break the frame in Javascript, and it goes something like this:&lt;br&gt;if (top.location != location) {&lt;br&gt;top.location.href = document.location.href ;&lt;br&gt;}&lt;br&gt;&lt;br&gt;I guess this site is implementing something similar&lt;br&gt;&lt;br&gt;Amir</description>
		<content:encoded><![CDATA[<p>Hi Dennis,<br />There is a way to break the frame in Javascript, and it goes something like this:<br />if (top.location != location) {<br />top.location.href = document.location.href ;<br />}</p>
<p>I guess this site is implementing something similar</p>
<p>Amir</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis Short</title>
		<link>http://www.amirharel.com/2009/07/28/implementing-iframe-toolbar/comment-page-1/#comment-135</link>
		<dc:creator>Dennis Short</dc:creator>
		<pubDate>Sat, 10 Jul 2010 13:31:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.amirharel.com/?p=44#comment-135</guid>
		<description>Dude, you rock. Question: some sites kill the toolbar. For example:&lt;br&gt;&lt;a href=&quot;http://www.amirharel.com/labs/it/res_iframe.html?iframe=www.nytimes.com/2010/07/10/us/10enforce.html&quot; rel=&quot;nofollow&quot;&gt;http://www.amirharel.com/labs/it/res_iframe.htm...&lt;/a&gt;&lt;br&gt;&lt;br&gt;Do you know how to circumvent their blocking you from iframing their sites?</description>
		<content:encoded><![CDATA[<p>Dude, you rock. Question: some sites kill the toolbar. For example:<br /><a href="http://www.amirharel.com/labs/it/res_iframe.html?iframe=www.nytimes.com/2010/07/10/us/10enforce.html" rel="nofollow"></a><a href="http://www.amirharel.com/labs/it/res_iframe.htm.." rel="nofollow">http://www.amirharel.com/labs/it/res_iframe.htm..</a>.</p>
<p>Do you know how to circumvent their blocking you from iframing their sites?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mr Chris</title>
		<link>http://www.amirharel.com/2009/07/28/implementing-iframe-toolbar/comment-page-1/#comment-130</link>
		<dc:creator>Mr Chris</dc:creator>
		<pubDate>Thu, 17 Jun 2010 15:54:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.amirharel.com/?p=44#comment-130</guid>
		<description>Great job Amir.  I am using this without all the toolbar functionality to handle displaying an iframe at 100% height.  I have been able to mostly pull it off, but have a couple questions to finish the job:&lt;br&gt;&lt;br&gt;1) I can get the initial iframe to resize 100% height.  However,  when someone clicks a link in that iframe and goes to a subpage within the iframe content - I need to trigger another iframe resize, as the subpage is always greater in height.  I am assuming this would be done in the registerEvents section.  If so, what would the code look like?&lt;br&gt;&lt;br&gt;2)  I am experiencing a difference in height in IE -vs- FF.  in IE, the iframe resize height works great, but in FF, I have had to add 300 to the height in order for it to display the bottom of the iframe content.  which leaves me with a ton of whitespace in IE now.  Here is what I did.  (remember I am not using the toolbar)  $(&quot;#iframe&quot;).height( WindowHeight() + 300 );&lt;br&gt;&lt;br&gt;Thanks in advance!</description>
		<content:encoded><![CDATA[<p>Great job Amir.  I am using this without all the toolbar functionality to handle displaying an iframe at 100% height.  I have been able to mostly pull it off, but have a couple questions to finish the job:</p>
<p>1) I can get the initial iframe to resize 100% height.  However,  when someone clicks a link in that iframe and goes to a subpage within the iframe content &#8211; I need to trigger another iframe resize, as the subpage is always greater in height.  I am assuming this would be done in the registerEvents section.  If so, what would the code look like?</p>
<p>2)  I am experiencing a difference in height in IE -vs- FF.  in IE, the iframe resize height works great, but in FF, I have had to add 300 to the height in order for it to display the bottom of the iframe content.  which leaves me with a ton of whitespace in IE now.  Here is what I did.  (remember I am not using the toolbar)  $(&#8221;#iframe&#8221;).height( WindowHeight() + 300 );</p>
<p>Thanks in advance!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik M.</title>
		<link>http://www.amirharel.com/2009/07/28/implementing-iframe-toolbar/comment-page-1/#comment-125</link>
		<dc:creator>Erik M.</dc:creator>
		<pubDate>Wed, 09 Jun 2010 18:37:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.amirharel.com/?p=44#comment-125</guid>
		<description>Basically, I would like to have a form on page A. where the user would enter a keyword and select a site from a drop down list. The results from the selected website would be sent to an iframe on page be that has the cool tool bar at the top. It&#039;s kind of like when you do a google image search and click on one of the pictures in the search results and it opens the image on a new page with a google tool bar at the top. The only difference is that I would not be placing a link on Page A. instead the user would enter a keyword and my php script would attach that keyword to the selected websites search url format and then the results would be sent to an iframe on page B.&lt;br&gt;&lt;br&gt;I guess to simplify things I am wondering how to take the form in the demo tool bar you made and place a copy of it on a new page. When someone types in a keyword and hits submit on this new page the results are shown in the iframe of the page used in this demo (with the tool bar on it).</description>
		<content:encoded><![CDATA[<p>Basically, I would like to have a form on page A. where the user would enter a keyword and select a site from a drop down list. The results from the selected website would be sent to an iframe on page be that has the cool tool bar at the top. It&#39;s kind of like when you do a google image search and click on one of the pictures in the search results and it opens the image on a new page with a google tool bar at the top. The only difference is that I would not be placing a link on Page A. instead the user would enter a keyword and my php script would attach that keyword to the selected websites search url format and then the results would be sent to an iframe on page B.</p>
<p>I guess to simplify things I am wondering how to take the form in the demo tool bar you made and place a copy of it on a new page. When someone types in a keyword and hits submit on this new page the results are shown in the iframe of the page used in this demo (with the tool bar on it).</p>
]]></content:encoded>
	</item>
</channel>
</rss>
