Here is a link to this lecture in a frame. (If you're already in a frame, it might be amusing to click on this link again.)
If you're already viewing this page within frames and you'd like to escape, you can either use the "back" button or follow this link to escape from the frame
<html>
<head>
<title>Frames</title>
</head>
<frameset cols="130,*">
<frame src="toolbar.html" name="toolbar">
<frame src="index.html" name="notes">
</frameset>
</html>
FRAMESET tag replaces the BODY tag.COLS attribute means that these frames will be laid
out in columns.COLS, in this case, is the width of the
columns in pixels. An asterisk means "the rest."FRAME tag for each column. The SRC attribute can
be any URL.NAME attribute allows us to access the frame
through the object hierarchy.Frames introduce a whole new twist on hyperlinks, because now you have
to determine not only where to go, but what frame to put the result
in. It's done with the TARGET attribute. Here's an example of
the code:
<a href="http://www.wellesley.edu/" target="theOtherFrame">
TARGET attribute of the A tag specifies where
this link is displayed. Of course, you must have named
the frame in the frameset.TARGET attribute of the BASE tag specifies the
default target for all links that follow._top, which replaces the entire contents of
the document window. That's how to "escape" from
frames.© Computer Science 110 Staff
This work is licensed under a Creative Commons License
Date Modified:
Thursday, 24-Jan-2008 12:34:37 EST