Solved

Frames

Posted on 1997-03-10
1
218 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!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Where can I ask about my ASP.NET MVC project? 6 45
maps stopped work unsure why 7 49
Wordpress Only run code if on a certain page 11 23
WordPress 8 30
Read about why website design really matters in today's demanding market.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…

860 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