Knowing if a page is being iframed in
<p>Is there any way of knowing if a page is being iframed in?</p>

<p>I was thinking something like <code>if (window.parent)</code>, but that obviously isn't right.</p>

<p>Can anyone help?</p>
