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

Q294 How do I detect whether document has any frames?

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

<script language="JavaScript"><!--
if (frames.length > 0)
    alert('We have frames');
else
    alert('We have no frames')
//--></script>

©2018 Martin Webb