LESSON 40: LINKING INTO FRAMES

  1. Study the index cards on Linking Into Frames. I've included a hard copy of these index cards, for your convenience.
  2. Be sure that you can answer all the following questions, which are fair game for quizzes and tests.
    1. When you have a link in a framed document, where does the linked document load, by default?
    2. When you link, you often think that you're "going somewhere". But, for the purpose of linking within framed documents, what is a better viewpoint?
    3. Fill in the blanks: Sometimes you may not want a linked document to load into the same frame. By                      the desired target frame, and then using the                      attribute in the anchor tag, you can load into any frame that you want.
    4. Fill in the blanks: If a link contains a target name that does not exist in the current (framed or unframed) document, then a                      is opened to display the linked document, and the newly-opened window is given the                      name.
    5. One common use of frames is to have a narrow table of contents on the left; each entry loads the specified document into the main frame on the right. Suppose that the main frame is named "main". It's a nuisance to have to type TARGET="main" in every single table of content entry. What can you do instead?
    6. What happens if you have < BASE TARGET="main"> in the HEAD section, but a particular link says TARGET="here". Where will the link load?
    7. What does the phrase "busting out of a frameset" mean?
    8. How can you "bust out of a frameset"?
    9. If you, the user, have "busted out of a frameset," how can you get back to the framed document?
  3. Do worksheet items (W40.1) through (W40.6) from the original lesson, Linking Into Frames. Show me that it works! (20 points)
  4. Read pages 246 (from "Frame Design Tips and Tricks") to page 248. Be sure that you can answer all the following questions, which are fair game for quizzes and tests:
    1. Suppose you design a web page to be part of a framed document. Is there any guarantee that it will always be viewed that way?
    2. How might a document that is designed to be part of a frameset end up being viewed out of this context?
    3. Is there a way to use JavaScript to ensure that a page is always viewed in its original frameset?
    4. By and large, do search engines understand frames, or any content within frameset or frame tags?
    5. Do search engines read content within the <noframes> tag?
    6. Can you have a link within a <noframes> tag?
    7. Suppose you have a framed document with a Table of Contents, and a main page that displays the chosen selection. What link should you put in the <noframes> tag?
    8. Should you use titles for each document in a framed document? If so, why?
    9. Is it possible for a single link to change the contents of two frames at once?
  5. Write the code that appears on the top of page 248, with appropriate changes and with your own files, to use HTML to load two (side-by-side) frames from a single link. Show me that it works! (10 points)
  6. Write the HTML/JavaScript code that appears on the bottom of page 248, with appropriate changes and with your own files, to load two frames with a single click. Show me that it works! (10 points)
THE QUIZ OVER THIS LESSON WILL CONSIST OF:
Prepare for the quiz over this section by practicing below.
Questions are asked in random order.
You can generate a printable quiz with solutions.








How many problems would you like on the quiz? (18 max)