Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Getting rid of all previous frames.

Posted on 1998-06-27
6
Medium Priority
?
175 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

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 40 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
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).

604 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