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

Frames breakout = blank page in Netscape

Status
Not open for further replies.

Shilohcity

Technical User
Jul 12, 2000
136
GB
Hi there

I have a page which launches from a framed page but which I need to display out of frames. I have used the following code at the top which seemed to achieve this fine in IE.

<!--
if (top != self)
top.location = self.location
//-->

However when the page is displayed in NN all I get is a blank page. Upon inspecting the source code I can see the page is there but there is a transfer interrupted header. I am assuming from my limited Javascript knowledge that this is a result of the above function.

Does anybody have any suggestions as of ways around this?

All help is most appreciated.

Justin. X-) &quot;Creativity is the ability to introduce order into the randomness of nature.&quot; Eric Hoffer

Visit me at
 
why don't you use the target function in your href ??

<a href=&quot;myPage.htm&quot; target =&quot;_top&quot;>myPage.htm</a>

and it will display your page out of frames in the same page.

Hope this helps ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top