|
|
 |

 |
|
Microsoft® FrontPage® Version 2002 Step by Step
|
|
|
Author
|
|
Online Training Solutions, Inc.
|
|
|
Pages
|
368
|
|
Disk
|
1 Companion CD(s)
|
|
Level
|
Beg/Int
|
|
Published
|
06/06/2001
|
|
ISBN
|
9780735613003
|
|
Price
|
$29.99
To see this book's discounted price, select a reseller below.
|
|
|
|
|
 |
|
|
Chapter 7: Enhancing the Capabilities of Your Web Site continued
Adding Links Between Web Sites
You will often want to have links from your Web site to other Web sites, usually to point visitors to external information and resources. For example, the GardenCo Web site might contain links to plant society sites or to specific pages of the Web site maintained by the United States Department of Agriculture.
One of the great things about the Web is that it quickly builds communities around special interests. If you know of other compatible, but not competitive, Web sites in your general area of specialty, you can often arrange to put a link to those sites on your Web site in exchange for a similar link on their sites to yours. This is a great way to build traffic to your site and to get the word out about your products and services.
The most common method of linking to another Web site is to insert a hyperlink from the site name or description to the URL of the site’s home page or a particular page file.
IMPORTANT: Other people’s Web sites are beyond your control. Nothing makes your site look old and poorly maintained as much as inactive hyperlinks do. So be sure to test any external links regularly to check that their target sites are still active and that they still display the information you think they do.
In this exercise, you will insert hyperlinks to a subweb and to an external Web site. You will then look at how FrontPage automatically recalculates links from your site to ensure that they are all working.
The working folder for this exercise is SBS\FrontPage\Capabilities\LinkSites.
Follow these steps:
- Open the GardenCo Web site located in the working folder.
- Switch to Navigation view. If the entire site doesn’t show in the window, click the Portrait/Landscape button to change to Portrait mode.
Notice that the GardenCo Web site includes an Internal subweb, which is indicated in the Folder List by the Web site icon and in Navigation view by its gray color.
- If the Folder List is not already open, click the Toggle Pane button on the Standard toolbar to open it.
- Double-click index.htm in the Folder List to open that page in the Page view editing window.
- In the left shared border, click the link bar to select it, and then press End and Enter to insert a new line after the link bar.
- Type Employees Only, and click the Center button to center the text within the shared border.
- Highlight the text, and select Arial from the Font drop-down list on the Formatting toolbar.
- Click the Bold button, and then click the Decrease Font Size button to match the new text to the buttons above it.
- On the Format menu, click Paragraph. Then in the Spacing area of the Paragraph dialog box, type 6 in the Before box and 3 in the After box, and click OK.
The text now looks as shown on the next page.

Click to view graphic
- With Employees Only selected, click Insert Hyperlink.
- Browse to the employee_info.htm file in the Internal subweb, and click OK to insert a link from Employees Only to the home page of the subweb.
- On the Standard toolbar, click the Preview in Browser button. When the Web site opens in your browser, click the Employees Only link to test it.
The home page of the Internal subweb appears in your browser.
- Close the browser to return to FrontPage.
- In the Products folder, double-click carnivorous_plants.htm to open it in the Page view editing window.
Under Other Resources, two resources are listed along with their URLs.
- Select http://www2.labs.agilent.com/bot/cp_home/ (the URL for the Carnivorous Plant Database), and click the Copy button on the Standard toolbar to copy it to the Office Clipboard.
- Select Carnivorous Plant Database, and click Insert Hyperlink.
- In the Insert Hyperlink dialog box, click the Paste button on the Standard toolbar to paste the copied URL into the Address box.
- Click Target Frame to open the Target Frame dialog box, shown here:

Click to view graphic
- In the Common targets box, click New Window.
You are telling FrontPage to configure the hyperlink to open the target page in a new window instead of replacing the content of the current window with the new content. The main reason for doing this is so that visitors don’t lose track of your site while they go off on this side trip.
TIP: When you select New Window, the Target setting box is automatically filled in with the name _blank. The Target setting name is primarily used with frame-based sites, where each frame has a name, but you can also use this box to assign a name to a target browser window.
- Select the Set as page default check box to indicate that any hyperlinks opened from this page should open in a new window.
- Click OK to close the Target Frame dialog box, and then click OK to close the Insert Hyperlink dialog box and insert the hyperlink.
- Select http://www.carnivorousplants.org (the URL for the International Carnivorous Plant Society), and copy it to the Clipboard.
- Select the words International Carnivorous Plant Society, and click Insert Hyperlink.
- Paste the URL into the Address box, and click Target Frame.
In the Common targets box, the Page Default option has changed from (none) to (New Window), which is what you want.
- Click Cancel to close the Target Frame dialog box without making changes.
- Click OK to close the Insert Hyperlink dialog box and insert the hyperlink.
- Click Save to save the page, and then click the Preview in Browser button to open the page in your browser.
- In the browser, click the Carnivorous Plant Database link.
The Carnivorous Plant Database Web site opens in a new window.
- Switch back to your site, and click the International Carnivorous Plant Society link.
The International Carnivorous Plant Society Web site opens in a separate browser window.
- Close the browser to return to FrontPage.
- Switch to Hyperlinks view.
The active file, carnivorous_plants.htm, is shown at the center with all hyperlinks to and from the page radiating from it, like this:

Click to view graphic
- On the Tools menu, click Recalculate Hyperlinks.
- When FrontPage shows you this dialog box, click Yes to continue:

Click to view graphic
FrontPage checks all the internal and external links in your site and refreshes the Hyperlinks view.
- When you have finished checking everything out, close the Web site.
Previous
| Table of Contents
|
Next
Last Updated: Saturday, July 7, 2001 |