kill HTML Frames

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have only one page in my asp.net app that requires frames.
How can I navigate away from the page with frames and load a page with no
frames?
I have tried with javascript. In the past I have been was successful, but
now I have lost that technique. My navigation bar is in frame 1 on the left
side.
What can I do?
 
<SCRIPT LANGUAGE="JavaScript">
<!--
if (window != top) top.location.href = location.href;
// -->
</SCRIPT>

The following expressions would also work:

window != parent
self != top



Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
 
Back
Top