This example changes the contents of two frames when a nav bar element is clicked.

Source Code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<frameset rows="80,*" cols="*" frameborder="YES" border="1" framespacing="0">
  <frame src="http://www.quagmire.com:80/javascript/week5/nav3.cfm" name="navFrame" scrolling="NO" noresize >
  <frameset cols="50,50" frameborder="YES" border="1" framespacing="0">
    <frame src="http://www.quagmire.com:80/javascript/week5/left1.cfm" name="leftFrame" scrolling="NO" noresize>
    <frame src="http://www.quagmire.com:80/javascript/week5/right1.cfm" name="rightFrame">
  </frameset>
</frameset>
<noframes><body>

</body></noframes>
</html>