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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Frame busting

Status
Not open for further replies.

Cresby

Programmer
Aug 15, 2002
287
GB
IE (works on 5.5) seems to respond to java script parent.location.href="blah blah" but Netscape doesn't

Any ideas on alternatives &/or sites that can help?

TIA
 
top.location="some_file.htm";
 
Well it does the same job on IE5.5 but as I can't see any way to switch on or verify Java in Netscape I have to assume I requested none on installation. Hence neither ploys work in my Netscape.

Is there anyone using Netscape(+Java) out there that would verify if the initial banner ad is removed from ?

It has been useful to verify what happens on browsers where the surfer has done the same. I use Netscape 4.5 to check my pages for compatibility only. I surf mostly in IE out of laziness.
 
I have found the following to work

<script language=&quot;JavaScript&quot; type=&quot;text/javascript&quot;>
<!-- Hide script from older browsers
if(parent.frames[1])
parent.location.href=self.location.href;
// end hiding contents -->
</script>
 
thanx ne4x4

I have found a similar one at grizzlywebb that covers java 1.0 as well but essentially does similar to yours for java 1.1
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top