Solved

Frames

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Both Easy and Powerful How easy is PHP? http://lmgtfy.com?q=how+easy+is+php (http://lmgtfy.com?q=how+easy+is+php)  Very easy.  It has been described as "a programming language even my grandmother can use." How powerful is PHP?  http://en.wikiped…
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
The viewer will learn how to dynamically set the form action using jQuery.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

706 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

21 Experts available now in Live!

Get 1:1 Help Now