kill HTML Frames

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?
 
J

Juan T. Llibre

<SCRIPT LANGUAGE="JavaScript">
<!--
if (window != top) top.location.href = location.href;
// -->
</SCRIPT>

The following expressions would also work:

window != parent
self != top
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,153
Members
46,701
Latest member
XavierQ83

Latest Threads

Top