<?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>Kommentarer til: jQuery and iframe manipulation</title>
	<atom:link href="http://huuah.com/jquery-and-iframe-manipulation/feed/" rel="self" type="application/rss+xml" />
	<link>http://huuah.com/jquery-and-iframe-manipulation/</link>
	<description>webdevelopment, cms, php, javascript etc</description>
	<lastBuildDate>Thu, 17 May 2012 16:08:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>Af: Soso</title>
		<link>http://huuah.com/jquery-and-iframe-manipulation/comment-page-1/#comment-820</link>
		<dc:creator>Soso</dc:creator>
		<pubDate>Thu, 03 Mar 2011 10:57:34 +0000</pubDate>
		<guid isPermaLink="false">http://huuah.com/?p=248#comment-820</guid>
		<description>Now, you can use the contents API of Jquery but this won&#039;t work on different domains!
http://api.jquery.com/contents/</description>
		<content:encoded><![CDATA[<p>Now, you can use the contents API of Jquery but this won&#8217;t work on different domains!<br />
<a href="http://api.jquery.com/contents/" rel="nofollow">http://api.jquery.com/contents/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Af: Peter soski</title>
		<link>http://huuah.com/jquery-and-iframe-manipulation/comment-page-1/#comment-673</link>
		<dc:creator>Peter soski</dc:creator>
		<pubDate>Sat, 20 Nov 2010 01:14:37 +0000</pubDate>
		<guid isPermaLink="false">http://huuah.com/?p=248#comment-673</guid>
		<description>Im just tryoing to see content on my left frame when i mouse over theimages on my right frame...
http://bobsob.com/lr.htm
Normally it worked fine: http://bobsob.com/bt2.htm

HELP!</description>
		<content:encoded><![CDATA[<p>Im just tryoing to see content on my left frame when i mouse over theimages on my right frame&#8230;<br />
<a href="http://bobsob.com/lr.htm" rel="nofollow">http://bobsob.com/lr.htm</a><br />
Normally it worked fine: <a href="http://bobsob.com/bt2.htm" rel="nofollow">http://bobsob.com/bt2.htm</a></p>
<p>HELP!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Af: Emanuele DG</title>
		<link>http://huuah.com/jquery-and-iframe-manipulation/comment-page-1/#comment-654</link>
		<dc:creator>Emanuele DG</dc:creator>
		<pubDate>Thu, 11 Nov 2010 14:03:19 +0000</pubDate>
		<guid isPermaLink="false">http://huuah.com/?p=248#comment-654</guid>
		<description>Hello,
I used jQuery to acheve this task and it worked.
Example:

[code]
var iframe = $(&#039;&lt;iframe&gt;&lt;/iframe&gt;&#039;).attr(&#039;id&#039;, &#039;blabla&#039;).attr(&#039;name&#039;, &#039;bla-bla&#039;).attr(&#039;src&#039;, &#039;about:blank&#039;);
iframe.load(function() {
	$(this).contents().find(&#039;body&#039;).eq(0).append($(&#039;&lt;div&gt;Hello world!&lt;/div&gt;&#039;));
});
$(&#039;#myDiv&#039;).append(iframe);
[/code]</description>
		<content:encoded><![CDATA[<p>Hello,<br />
I used jQuery to acheve this task and it worked.<br />
Example:</p>
<pre class="brush: plain; title: ; notranslate">
var iframe = $('&lt;iframe&gt;&lt;/iframe&gt;').attr('id', 'blabla').attr('name', 'bla-bla').attr('src', 'about:blank');
iframe.load(function() {
	$(this).contents().find('body').eq(0).append($('&lt;div&gt;Hello world!&lt;/div&gt;'));
});
$('#myDiv').append(iframe);
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>Af: js - huuah</title>
		<link>http://huuah.com/jquery-and-iframe-manipulation/comment-page-1/#comment-643</link>
		<dc:creator>js - huuah</dc:creator>
		<pubDate>Sat, 30 Oct 2010 11:26:18 +0000</pubDate>
		<guid isPermaLink="false">http://huuah.com/?p=248#comment-643</guid>
		<description>#5 André
I&#039;m sorry, but I do not understand your question</description>
		<content:encoded><![CDATA[<p>#5 André<br />
I&#8217;m sorry, but I do not understand your question</p>
]]></content:encoded>
	</item>
	<item>
		<title>Af: André Banderas</title>
		<link>http://huuah.com/jquery-and-iframe-manipulation/comment-page-1/#comment-637</link>
		<dc:creator>André Banderas</dc:creator>
		<pubDate>Tue, 26 Oct 2010 21:19:25 +0000</pubDate>
		<guid isPermaLink="false">http://huuah.com/?p=248#comment-637</guid>
		<description>Sorry, my english is terrible, I write in pt-br!! :(

Bom, você pode tentar usar:

var frame = $(&quot;#myframe&quot;).get(0).contentDocument.body;
$(&quot;div&quot;, frame).css(&quot;background-color&quot;, &quot;red&quot;);

Até</description>
		<content:encoded><![CDATA[<p>Sorry, my english is terrible, I write in pt-br!! <img src='http://huuah.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Bom, você pode tentar usar:</p>
<p>var frame = $(&#8220;#myframe&#8221;).get(0).contentDocument.body;<br />
$(&#8220;div&#8221;, frame).css(&#8220;background-color&#8221;, &#8220;red&#8221;);</p>
<p>Até</p>
]]></content:encoded>
	</item>
	<item>
		<title>Af: Muzi</title>
		<link>http://huuah.com/jquery-and-iframe-manipulation/comment-page-1/#comment-626</link>
		<dc:creator>Muzi</dc:creator>
		<pubDate>Tue, 12 Oct 2010 08:29:12 +0000</pubDate>
		<guid isPermaLink="false">http://huuah.com/?p=248#comment-626</guid>
		<description>Thanks for this, it was very helpful</description>
		<content:encoded><![CDATA[<p>Thanks for this, it was very helpful</p>
]]></content:encoded>
	</item>
	<item>
		<title>Af: nau</title>
		<link>http://huuah.com/jquery-and-iframe-manipulation/comment-page-1/#comment-230</link>
		<dc:creator>nau</dc:creator>
		<pubDate>Fri, 05 Feb 2010 19:41:17 +0000</pubDate>
		<guid isPermaLink="false">http://huuah.com/?p=248#comment-230</guid>
		<description>what if the iframe does not have a name or id?</description>
		<content:encoded><![CDATA[<p>what if the iframe does not have a name or id?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Af: Vertical Grain</title>
		<link>http://huuah.com/jquery-and-iframe-manipulation/comment-page-1/#comment-221</link>
		<dc:creator>Vertical Grain</dc:creator>
		<pubDate>Fri, 22 Jan 2010 10:18:25 +0000</pubDate>
		<guid isPermaLink="false">http://huuah.com/?p=248#comment-221</guid>
		<description>I&#039;m also curious about whether there are ways to get frameReady to work when the childpage is from a different hostname. This works for me when the childpage and parent page are on the same host but not when the childpage is different host.</description>
		<content:encoded><![CDATA[<p>I&#8217;m also curious about whether there are ways to get frameReady to work when the childpage is from a different hostname. This works for me when the childpage and parent page are on the same host but not when the childpage is different host.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Af: js - huuah</title>
		<link>http://huuah.com/jquery-and-iframe-manipulation/comment-page-1/#comment-214</link>
		<dc:creator>js - huuah</dc:creator>
		<pubDate>Tue, 01 Dec 2009 22:32:46 +0000</pubDate>
		<guid isPermaLink="false">http://huuah.com/?p=248#comment-214</guid>
		<description>I did some testing on this, and as far as I can remember, I saw some differrent results in Internet Explorer and Firefox. If you include jQuery on both the &quot;parent&quot; and the &quot;child&quot; page on the same domain, the problems aren&#039;t as big as when the iframe is located on a different hostname.</description>
		<content:encoded><![CDATA[<p>I did some testing on this, and as far as I can remember, I saw some differrent results in Internet Explorer and Firefox. If you include jQuery on both the &#8220;parent&#8221; and the &#8220;child&#8221; page on the same domain, the problems aren&#8217;t as big as when the iframe is located on a different hostname.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Af: Giraldi Maggio</title>
		<link>http://huuah.com/jquery-and-iframe-manipulation/comment-page-1/#comment-212</link>
		<dc:creator>Giraldi Maggio</dc:creator>
		<pubDate>Tue, 01 Dec 2009 09:49:15 +0000</pubDate>
		<guid isPermaLink="false">http://huuah.com/?p=248#comment-212</guid>
		<description>Is this restricted to local iframes only or does it also work with childpage at another hostname as well?</description>
		<content:encoded><![CDATA[<p>Is this restricted to local iframes only or does it also work with childpage at another hostname as well?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

