|
Targeting a frame
Most likely, you'll want visitors to the Homebody Realty site to click the items in the hb_navigation frame to open documents in the hb_main frame. To make this happen, you must make these items links and assign them targets.
For now, create a dummy file for each item in the list so that you'll have something to link to.
To create dummy files:
| 1 |
Choose File > New to open a new document. |
| 2 |
In the Document window, type Property Search. |
| 3 |
Choose File > Save and save the file as propsearch.html in the frames folder. |
| 4 |
In the Document window change the word Property to Agent. |
| 5 |
Choose File > Save As, and save the file as agentsearch.html in the frames folder. |
| 6 |
Repeat steps 4 and 5 for the remaining navigation items, changing the words in the file to Offices, Mortgage Services, and Relocation Services. Save the files as offices.html, mortgage.html, and relocation.html, respectively. |
 |
|
To create a targeted link:
| 1 |
Highlight an item in the navigation list (for example, property search). |
| 2 |
In the Property inspector, click the folder icon next to the Link box then browse to and select the file associated with this item (for example, propsearch.html). |
| 3 |
Choose hb_main from the Target pop-up menu. |
|
The hb_main frame will be available in the Target list only when a frameset file with a frame called hb_main is open in Dreamweaver. If you open 00_navigation.html directly, only the default targets ( _blank , _parent , _self , and _top ) will appear in the Target list. You can still target hb_main by typing hb_main in the Target box. |
| 4 |
Repeat steps 1 through 4 for each of the remaining navigation items. |
| 5 |
Choose File > Save All. |
| 6 |
Press F12 to preview the frameset file in your primary browser. |
 |
|
|