Solved

Frames

Posted on 1997-03-10
1
217 Views
Last Modified: 2013-12-25
I have just put a page up that is using frames.  I was sure that I understood how they worked until I used the left frame named "director.htm" (a directory) to return to the home page.  When I clicked on it the home page came in that small rectangular frame (only 20% of the screen) and my intentions were for it to remove me from the page with frames and return me to the home page.  Where have I made the mistake?  When explaining this please give an example.  The directory frame is named "director.htm" the other 80% or so it called "html.htm" and the html page that has the Frameset tags is named "multimed.htm".  Thank you for any and all assistance.


Michael Sturgeon
0
Comment
Question by:msturgeon
1 Comment
 
LVL 4

Accepted Solution

by:
jshamlin earned 200 total points
ID: 1853870
When you're in frames, clicking a link will load that document in the present frame unless you also specify a TARGET in the HREF tag, thus:

<A HREF="page_to_load.html" TARGET="Frame_to_load_it_in">text</A>

You TARGET frames by their name (when you made the FRAMESET, each FRAME has a NAME attribute in addition to the SRC for its content)

If you want something to load in the entire browser window (losing the frameset), use TARGET="_top" in the HREF tag.

HTH
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
text on slider doesn't resize nicely 5 58
Divi Them Help with Full Width header 20 69
When should I use a controller? 3 34
How do I pull the base url for use in html links 7 23
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

832 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