Developer

FrontPage 2000 Magic: Three tips for using links better

Use hyperlinks better by linking from Web to Web, adding external links, and linking external style sheets. Find out how.

By Scott R. Garrigus
6/15/99

1. Hyperlink from Web to Web
When creating a hyperlink, FrontPage shows you a list of all the folders and pages in the current site. But what if you have a number of other projects, and you'd like to create a link to a page or file within one of them? Usually, you would have to either figure out the relative path manually or use an absolute URL for the link. In FrontPage 2000, there's a much easier way.

Simply use the same procedure for creating any hyperlink: select the text or object to link from and use the Insert/Hyperlink menu to open the Create Hyperlink dialog box. At the top of the box, you'll notice a drop-down menu labeled Look In. Click the menu to display a list showing the root web (with any of its files and folders) along with any subwebs you may have. Select the web you want and the dialog box will show a list of all the files in that web. Choose the page or file you want to link to and click OK. FrontPage automatically creates a hyperlink to that file using a relative path.

2. Add external links
FrontPage lets you build a navigation structure for your site using the Navigation view. When you add navigation bars to pages, FrontPage sets up each bar according to the structure you create. What you may not know is that in addition to linking to files within your site navigation bars also can contain links to files outside of your site.

To create a link to an outside file, switch to the Navigation view to display your site structure. Right-click the page under which you want to add the external link and select External Hyperlink from the pop-up menu. This will bring up the standard Create Hyperlink dialog box and allow you to type in whatever URL you want.

From then on, the external link will show up in the navigation bars that you place throughout your site. The domain name of the URL that you type is automatically used as the name of the link in the navigation structure. To change the name of the link, go to the Navigation view, right-click the external link and select Rename from the pop-up menu. Then you can simply type a new name to make the link look more presentable in your navigation bars.

3. Link external style sheets
Creating a consistent look for a large Web site can be a difficult task, but style sheets can help. External style sheets can be especially helpful since one file can be used throughout every page on your site.

To link an external style sheet to a page, select the Format/Style Sheet Links menu. The Link Style Sheet dialog box will list your currently available style sheets. If there aren't any style sheets in the list, you can click the Add button to reference a file from anywhere in your current site, your hard drive, or the Internet. After you've added one or more sheets to the list, select the ones you would like to link and click OK. You can also choose to link your style sheets to a few pages or all the pages in your site.

(Note: Special thanks to Tricia Fahey, Gretchen Tosh, and the FrontPage Development Team for all of their expertise.)

Scott R. Garrigus is an author, musician, and all-around, multimedia guru. In addition to his frequent contributions to CNET Builder.com, he publishes his own e-zine called Comp-media.

Editor's Picks

Free Newsletters, In your Inbox