Solved

Getting rid of all previous frames.

Posted on 1998-06-27
6
165 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

 

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

705 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