The important code of frames.html is presented again:
<FRAMESET COLS="20%, 80%"> <FRAME SRC="menu.html"> <FRAME SRC="main.html"> </FRAMESET>
Now we’ll write the code for menu.html and main.html.
<HTML> <HEAD><TITLE>Menu</TITLE> </HEAD> <BODY BGCOLOR="#FFCCFF"> Navigation<BR> frame </BODY> </HTML>
<HTML> <HEAD><TITLE>Main</TITLE> </HEAD> <BODY BGCOLOR="#CCCCFF"> <H1>Main Content</H1> </BODY> </HTML>
These two files are quite simple and do not require much explanation.
Now, click here to view frames.html. (Note: This launches another browser window)
frames.html displays the two frames with borders. We shall soon see how to remove this. But before that, right click on the pink colored frame and select View Frame Info (in Netscape) or Properties (in Internet Explorer). You shall find that the HTML document loaded in this is menu.html. Do the same for the right frame. Here you’ll find main.html.
If you have escaped all this without bruises, we’ll look at some important properties of <FRAMESET> tag in the next session.
IMDb.com started on Usenet as the "rec.arts.movies movie database" which consisted of four lists - Actors, Actresses, Directors and Dead Actors/Actresses - and unix shell scripts for searching those lists. [more...]