Solved

Getting rid of all previous frames.

Posted on 1998-06-27
6
136 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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 

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:
MBEG 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…

746 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now