An example of the code for a Frames page would be:
<HTML>
<HEAD>
<TITLE>frame</TITLE>
</HEAD>
<FRAMESET COLS="20%,*">
<FRAME SRC="menu.html" NAME="menu">
<FRAME SRC="main.html" NAME="main">
</FRAMESET>
<BODY BACKGROUND="" BGCOLOR="#ffffff" TEXT="#000000" LINK="#0000ff" VLINK="#800080" ALINK="#ff0000">
</BODY>
</HTML>
When working with frames, it is recommended that you use one frame that would remain constant, eg. "menu.html"; so that you can place all of your links in this frame. By default all frames are unnamed. However, you should should note that one part of a frame can target another. For example, the example shows one frame named menu and another named main, the menu can target the main. meaning that the menu can show under the main, and vice versa. This is done with the TARGET atribute. If you do not specify which fram you want the page to target, it will load into the frame that called it. Confused yet, maybe this will help, translate all of the above code into your editor, and save it as frame.html. Next create a page called menu, and create a couple of links, nothing fancy, just two links. the first should have the TARGET attribute, the second should not. Save this page, and create another two more pages with one word on each one. It doesn't matter what the word is. Save these two pages as the name of the two links that you created on the menu page. Then open up your browser and view the first page that you created. Click on the first link. What was the outcome? OK now click on the second link. What Happened? Now do you understand what happens if the page isn't properly targeted.
JavaScript had its start at Netscape as a little known program known as LiveScript. Java and JavaScript have little in common. JavaScript is a loose language, that is embeded into the html document, and Java requires .class files in order to run. JavaScript is a language that can be easily found on the WWW. All that you have to do is point your browser to Yahoo!. From here type browser into the search tool, and click search. It will locate a number of sites for you that pretain to JavaScript.
Here are a few more sites that can do more justice to JavaScript than can be done here.
http://www.jsworld.com
http://www.htmlgoodies.com/javagoodies/
http://www.webteacher.com/javatour.htm
Netscape.com