Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Locked Frames Solved!

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Guess what guys, I've figured it out on how to escape those dreaded pages to only load inside that frame. So, the problem is not necessarily the main page, but the page you're trying to link on!

So, make sure that the page you're linking to has the following code between your <HEAD> </HEAD> :

<script LANGUAGE=&quot;JavaScript&quot;>
<!--
if (window != top)
top.location.href = location.href;
// -->
</script>

This does the trick!!!!!

HTML at its best, and thanks to all those who were trying to contribute on the situation. Problem solved. Thanks Sara.

Joel
 
Actually that isn't HTML at all, it's JavaScript. But it's a good hint.
Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top