ብዛዕባ ዌብድዛይን ትምህርቲ
Some web pages employ the use of a frame
layout, which is a method of displaying multiple, often scrollable files
(documents and/or graphic images) at once on the same page. The file in
each frame has its own URL (Uniform Resource Locator or web address).
Most graphical browsers will recognize frame commands and are able to display
frames.
Frames easily can be misused, and
care must be taken to make sure that the final product will be what the author
has in mind. Before placing any file inside of a frame, it should be
determined that the contents of the file will fit neatly into the frame,
without excessive scrolling being necessary by anyone observing the page.
As far as frames are concerned, improvement comes with practice.
The collection of frames in a
browser window is referred to as a “frameset.” The document which defines
all the frames in a framset is called the “frameset document.” A framset
document is just like any other HTML source document except that the
“body” tags (<BODY> & </BODY>) are replaced by “frameset”
tags:
- <FRAMESET>frameset, frame, or noframe
tags</FRAMESET>:
defines a collection of frames or even other framesets, causing a browser
window to be partitioned into distinct sections (frames) with a different
file (document or graphic image) appearing within each frame. Framesets
may be nested (one frameset inside of another frameset inside of another
frameset).
Note:
No <BODY> tag can be placed before a <FRAMESET> tag in a frameset
document, or else the browser will ignore the <FRAMESET> tag.
The syntax of framesets is similar
to that of tables, in that both are composed of “rows” and/or
“columns.” A <FRAMESET> tag must contain within it one of two
parameters as part of the command:
- ROWS="H,H,...":
includes a list of values separated by commas, with each value defining
the height “H” of a frame (row). The number of values in the list
equals the number of frames (rows) in the frameset. The height can
be an absolute value in pixels ("H") or a percentage ("H%"),
or it can be a “relative value” ("*" or "H*").
"H" defines the height of
that frame in pixels. Great care must be used when fixing a frame height
in pixels, since the size of browser windows varies considerably. If
absolute pixel values are used, at least one other value in the list should be
a “relative-sized” ("*", "H*") value. Otherwise, the
pixel value(s) may be overridden to ensure that the heights of all the frames
add up to 100% of the height of the browser
No comments:
Post a Comment