Solved

Frames

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
The viewer will learn how to count occurrences of each item in an array.
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).

863 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

24 Experts available now in Live!

Get 1:1 Help Now