HTML and CSS Reference
er frames and a way to select them. One can imagine a pull-down menu
that lets the user choose one frame at a time, for example.
The free value for the compose attribute displays the frames in a group
as a set of freely movable windows within a display area. The user
can move and rearrange the windows as desired, even overlapping
them! Presumably, this would allow frames to be displayed in a sort of
"desktop" within the browser, completely at the user's discretion.
11.8.2. XFrames URLs
To support explicit reference to frames within a framed document, the
XFrames model extends the definition of a URL to include a special
#frames keyword. This feature lets you specify the content for each
frame in a document, something that is impossible with the current
HTML and XHTML frames model.
To use this feature, add the special #frames keyword to the end of a URL
referencing a frame document. Follow the keyword with a list of frame
IDs and their desired content, all enclosed in parentheses. Sound diffi-
cult? It's not:
This URL opens the framed document named lore.html , and loads the
toc and main frames with the desired pages. The other frames named in
the document are loaded with their default content because they are not
mentioned in this URL. Frames without default content are left blank.
This powerful syntax has lots of benefits for authors and end users.
Authors can now construct links that will open a complete set of framed
documents in a specific, repeatable manner. And users can save a book-
mark to a framed document, assured that when they return to the docu-
ment, all the frames will be opened with the same content as when they
saved the URL.