noresize: In XHTML, this attribute takes its own name for its value (noresize).
When set, the relevant frame can??™t be resized. Beware of using this??”if the content
is too big for the frame, users won??™t be able to easily access the information.
There are two other attributes of note: longdesc and name. longdesc enables you to set a
URL with a long description of the frame??™s contents (for browsers that don??™t support
frames). The name attribute enables you to assign a unique name to the frame, which is
used for link-targeting purposes via the target attribute in anchors (the _top value
replaces the frameset with the linked document, while the value myFrame would open a
link in a frame with the name value of myFrame). However, this is not valid within
XHTML Strict, and therefore requires any documents that use it to be reverted to XHTML
Transitional.
For non-frames-compatible devices, use the noframes element (
)
to provide accessible content. This is placed inside the outermost frameset element, after
all the frames.
Working with internal frames (iframes)
The only type of frames in general use today are iframes. These enable you to update a
page section without reloading the rest of it. Popular sites using iframes include
Newstoday (www.newstoday.com/) and Pixelsurgeon (www.pixelsurgeon.com/), the latter
of which uses a small inline frame to display its news feed.
In a more general sense, this can be handy for enabling users to update a portion of a
site??™s design without touching the rest of the design, and without resorting to a costly content
management system.
Pages:
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403