Web 6 - FramesBy the end of this exercise you should have:
Be sure to look at My Sample for tips What Are Frames?Frames subdivide your page so that you can exhibit multiple webpages on the screen at once. They are generally used to enhance organization and navigation. A frames page usually consists of 3 pages: the FRAMESET page, which is a sort of vessel or format into which other html pages can be inserted, and the 2 other html pages that appear in each respective frame. Thus, I could have a FRAMESET page called "home.htm" which, when opened, would display 2 other pages: one called "Contents.htm" and the other called "Gallery.htm" New pages can be opened within the FRAMESET by clicking on the links in the Contents and Gallery pages. You, the webbie, determine into which the new pages open, or if they open in a new window altogether. For a presentation website, one might use 1 frame for the outline (or a series of pieces of the outline) and the other frame to display pages linked to the outline that contain more detailed text, data, or images. If you want people to read your information in a linear (essay-like) fashion, be sure to indicate the sequence of readings clearly. How to do itBelow is a sample FRAMESET page called "proposal.htm". It references two other pages, called "outline.htm" and "summary.htm".
TargetsThe last skill you need to know to put your frame in action is to target all of the links in your aubpages (outline.htm and summary.htm). Within each hyperlink, identify into which frame you would like the page to appear. Use the name that you assigned to each frame (like "left" or "right") for this purpose. For example
If you would like your link to open in a brand-new window (leaving the FRAMESET window open underneath), insert target="_blank" into the HREF tag:
If you want all of your pages to open in a particular frame, insert the following code into your head: <BASE href="complete URL of your FRAMESET page" target="right"> In context of the page's head, and using a sample URL, this will look like:
Create new pages of 1 -2 paragraphs each for each point in your outline. You may also include links to graphics and statistics on your outline, and have them appear in the right-hand window. I encourage you to try this. Worry about the content later - today just set up the structure of your page.
|