Skip to main content

Example 2

Here is the code for example 2. Notice this time that there are two framesets:

 
<html>
   <frameset cols="150,*">
      <frame name="left" scrolling="no" noresize target="rtop"    src="page1.htm">
      <frameset rows="20%,*">
         <frame name="rtop" target="rbottom" src="page2.htm">
         <frame name="rbottom" src="page3.htm">
      </frameset>
   </frameset>
</html>
 

When inserting hyperlinks using frames you must indicate the target frame as follows:

 
<a href="<i>document_URL</i>" target="<i>target_name</i>"> Hyperlink Text </a>
 

Next: Tips and Warnings