|
Opening an existing document inside a frame
The easiest way to populate a frame is to open an existing document inside it. To do this with the Homebody Realty site, you'll save a copy of the document that goes in the hb_header frame.
To save the header file to your hard drive:
| 1 |
Click this link to open the file in a new browser window. |
| 2 |
Choose File > Save As from the browser menu. |
| 3 |
Save the document as 00_header.html in the frames folder you created earlier. (Macintosh users: Be sure to select Source from the pop-up menu at the bottom of the Save As dialog box.) |
|
You might want to save all the documents that appear in your default frameset with the prefix 00_ so that they appear together at the top of the file list in the Site window (as well as in Telnet sessions and FTP programs). This way, whenever you want to edit just the navigation, you don't have to scan your file list trying to remember what you named the file in any particular frame. |
 |
|
To open the header file in the hb_header frame:
| 1 |
In the Document window, click inside the hb_header frame. |
| 2 |
Choose File > Open in Frame. |
| 3 |
In the dialog box that appears, find 00_header.html and open it. |
| 4 |
Before going any further, save all the documents in the frameset by choosing File > Save All. |
|
Dreamweaver will prompt you to save any untitled documents one at a time, indicating that the document that is being saved with a dashed outline in the Document window. |
|
Save the file in the hb_main frame as 00_main.html and the file in the hb_navigation frame as 00_navigation.html. |
 |
|
|