Solved

Getting rid of all previous frames.

Posted on 1998-06-27
6
150 Views
Last Modified: 2010-04-09
Hi,
    I'm wondering how when someone calls up my frameset page I can boot them out of all the previous frames they were in.
Thanks.
0
Comment
Question by:cide
6 Comments
 
LVL 3

Expert Comment

by:MorFF
ID: 1844416
You could make your initial page a dummy page which immediately calls your frameset page with TARGET='_blank'.  This will give the visitor a new page to view your framesets in all their glory

Cheers - MorFF
0
 

Author Comment

by:cide
ID: 1844417
But how do you make it immediatly goto another page?
0
 
LVL 3

Expert Comment

by:MorFF
ID: 1844418
cide,

stick this in your HEAD

<meta http-equiv="Refresh" content="1; URL=http://www.blah.co.uk/niceframesetpage.html">

the url needs to be the full address/path of your page (substitute 'blah' and 'nice...' accordingly)  the content is the delay before going.

You may wish to put a nice piccy or words in this page as you'll be leaving that copy of the browser open as you jump to the new one.

MorFF
0
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 

Author Comment

by:cide
ID: 1844419
How would I do it so it doesn't open a new window?
0
 
LVL 84

Expert Comment

by:ozo
ID: 1844420
TARGET='_top'
0
 

Accepted Solution

by:
Martin Berg earned 10 total points
ID: 1844421
This will work (if you allow javascripts). I have it in all my hompages!

if( top.location != location )
        top.location.href = location.href;

This works with at least Netscape 3.0 and MS IE 4.0
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Put shading on half of picture 8 43
Html5 string 3 23
Which non-HTML GUI front end to use with Java? 3 22
"Pause" execution of javascript function for x miliseconds 2 28
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question