Solved

The problem with frames...

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
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 …

743 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

9 Experts available now in Live!

Get 1:1 Help Now