Solved

The problem with frames...

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

Independent Software Vendors: 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

Suggested Solutions

Title # Comments Views Activity
Obsolete font tag need to convert to CSS 3 36
Debugging Html 8 32
How do I show a login page over the login page? 5 40
Validating number not work with decimal 4 26
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. …
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 embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
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).

733 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