?
Solved

The problem with frames...

Posted on 1998-08-24
4
Medium Priority
?
189 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
[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
  • 2
4 Comments
 

Author Comment

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

Accepted Solution

by:
mitek earned 40 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

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

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

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

765 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