Solved

The problem with frames...

Posted on 1998-08-24
4
172 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
align Linkedin sign to the right page 5 53
jQuery Sticky Menu 24 34
How to check if a session is disconnected in php 9 31
.htaccess css/images no longer loading 4 34
Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
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 …

790 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