
full size image] One of the benefits to using the site map is that it becomes easier to manage page titles and links. For instance, you can easily use the point to file icon directly on a page in the site map and drag it over into a file in the file list to quickly establish a link (see Figure 4.33). Figure 4.33. Easily create links from pages to files by dragging the point-to-file icon into a file in the list. [View full size image] Even better than linking to existing files using the point-to-file icon, you can easily create a new file from the site map and have it link directly from a file of your choice. To demonstrate this functionality, follow these instructions: 1. With the site map open, select the index.htm (home page) icon of your site to highlight it. 2. Right-click the file to open the context menu and choose Link to New File. 3. When the Link to New File dialog appears, enter the name for the file (such as sample.htm), give it a title (such as Sample Page), and choose some text for the link (such as Link to Sample Page). The dialog should resemble Figure 4.34. Figure 4.34. Use the Link to New File feature to create a new page and link to that page from the index.htm file. 4. When you've configured the information, click OK. Notice that a new icon is created in the map with a line connected to the page you selected. The downside to this method is because the physical link is placed at the bottom of the page, formatting must still be performed. 5. If you'd like to remove or change the link after it has been established, right-click the page to access the context menu and choose either the Remove Link or Change Link option. You can easily modify the titles of documents as well. Choosing View, Site Map Options, Show Page Titles reveals the page titles similar to Figure 4.35. Figure 4.35. View the page titles by choosing the Show Page Titles option from the View menu. [View full size image] With the title view active, click once to highlight the file, and then click a second time in the text area. This makes the text editable with a blinking cursor. To change the page title, simply type the new title for the document and press Enter. After you've configured the site map the way you want it, you can easily convert it into a BMP or PNG file. To do this, choose File, Save Site Map. Navigate to the location on your computer where you want the site map to be saved, type a filename, choose what type of file you want to save it as (BMP or PNG), and click OK. Checking Links Sitewide By far one of the biggest benefits of defining a site in Dreamweaver is so that Dreamweaver can verify and fix links for you automatically. As your sites grow in proportion, so will the number of internal and external links in the site. By using the Check Links Sitewide option located in the Site menu, you can check the integrity of all paths to links and files in your site. In fact, Dreamweaver's link checker can verify the following: