Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q293 How do I detect whether the document is in a frame?

You are here: irt.org | FAQ | JavaScript | Frame | Q293 [ previous next ]

<script language="JavaScript"><!--
if (self != top)
    alert('In a frame');
else
    alert('Not in a frame');
//--></script>

©2018 Martin Webb