<?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: Check if page is loaded in IFrame</title>
	<atom:link href="http://www.nikhilsheth.net/2009/11/30/check-if-page-is-loaded-in-iframe/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nikhilsheth.net/2009/11/30/check-if-page-is-loaded-in-iframe/</link>
	<description>Nikhil Sheth on life, technology and everything in between</description>
	<lastBuildDate>Sat, 06 Mar 2010 11:03:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Leslie</title>
		<link>http://www.nikhilsheth.net/2009/11/30/check-if-page-is-loaded-in-iframe/comment-page-1/#comment-1701</link>
		<dc:creator>Leslie</dc:creator>
		<pubDate>Mon, 30 Nov 2009 07:36:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.nikhilsheth.net/?p=480#comment-1701</guid>
		<description>nice 
but you can also use a better method
window.parent returns the immediate parent  window. 

so if you have an iframe inside another iframe this will not work.

so instead of window.parent.location use window.top.location

window.top returns the topmost parent :)</description>
		<content:encoded><![CDATA[<p>nice<br />
but you can also use a better method<br />
window.parent returns the immediate parent  window. </p>
<p>so if you have an iframe inside another iframe this will not work.</p>
<p>so instead of window.parent.location use window.top.location</p>
<p>window.top returns the topmost parent <img src='http://www.nikhilsheth.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
