Solved

The problem with frames...

Posted on 1998-08-24
4
157 Views
Last Modified: 2010-04-09
My web pages make use of frames. I would like to give users the option of looking at a noframes version. However, if I provide this link on a page which has frames, the frames remain. How do I get rid of them?
0
Comment
Question by:zgee
  • 2
4 Comments
 

Author Comment

by:zgee
ID: 1836955
Edited text of question
0
 
LVL 4

Accepted Solution

by:
mitek earned 10 total points
ID: 1836956
one way to do that is to use TARGET="_top"

<A HREF="noframes.html" TARGET="_top">Frameless version</A>

there are only few special targets like this one.

_top -- opens the url in the top-level window
_parent -- opens the url in the parent frame window
_self -- opens the url in the same frame window
_blank -- opens the url in a blank window

0
 
LVL 8

Expert Comment

by:jbirk
ID: 1836957
Also, if you are trying to make your page load nicely for people with browsers that don't support frames, adding the tags:
<NOFRAMES>
<BODY>
</BODY>
</NOFRAMES>

Whatever you put between the NOFRAMES tags will be displayed by browsers which don't support them.  Of course there aren't very many people left who use non-frame browsers...  so this is becoming out-dated.

-Josh
0
 

Author Comment

by:zgee
ID: 1836958
I've already done that Josh, but thanks anyway!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
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).

920 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

15 Experts available now in Live!

Get 1:1 Help Now