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

Q206 A site that uses frames displays my site in a frame, is there a way to keep my site 'on top'?

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

Try:

<html>
<head>
<script language="JavaScript"><!--
if (self != top) {
    if (document.images)
        top.location.replace(window.location.href);
    else
        top.location.href = window.location.href;
}
//--></script>
</head>

<body>
...
</body>
</html>

Feedback on 'Q206 A site that uses frames displays my site in a frame, is there a way to keep my site 'on top'?'

©2018 Martin Webb