HTML and CSS Reference
In-Depth Information
For instance, to link a document called new.html for display in Frame 3,
which we've named fill_me , the anchor looks like this:
<a href="new.html" target="fill_me">
If the user chooses the hyperlinksay, in Frame 1the new.html document
replaces the original frame3.html contents in Frame 3. [ The target At-
tribute for the <a> Tag, 11.7.1 ]
11.2.1. What's in a Frame?
Anyone who has opened more than one window on their desktop display
to compare contents or operate interrelated applications knows instinct-
ively the power of frames.
One simple use for frames is to put content that is common in a collec-
tion, such as copyright notices, introductory material, and navigation-
al aids, into one frame, with all other document content in an adjacent
frame. As the user visits new pages, each loads into the scrolling frame,
while the fixed-frame content persists.
A richer frame document-enabled environment provides navigational
tools for your document collections. For instance, assign one frame to
hold a table of contents and various searching tools for the collection.
Have another frame hold the user-selected document contents. As users
visit your pages in the content frame, they never lose sight of the nav-
igational aids in the other frame.
Another beneficial use of frame documents is to compare a returned
form with its original to verify the content the user submitted. By placing
the form in one frame and its submitted result in another, you let the
user quickly verify that the result corresponds to the data entered in the
form. If the results are incorrect, the form is readily available to be filled
out again.
Search WWH ::

Custom Search