[Previous] [Content Page] [Next]
Fine-Tuning Hyperlink PropertiesSay you've got a hyperlink on your page that links to an article somewhere on the Web that relates to what you're discussing. If a viewer clicks the link, she might get engrossed in the article and click further links within that page. Next thing you know, she's so far away exploring other Web sites that she forgets where she was in the first place. Point is, you may not want people to leave your site entirely. Maybe it would be better for you (and your fragile, neglected ego) if your viewer's browser opens up a new window when a visitor clicks on the article link, keeping your site open at the same time. You not only have the power to send your visitors where you wish, you can control how destination pages display on their screen. For example, you can launch a linked page in a new, separate browser window. In this section, you'll also learn how to provide viewers with additional information about a hyperlink so they'll know whether or not they want to click it. You can even draw attention to your links using color and rollover effects. 3.3.1. Open a Target Page in a New WindowUnless you specify otherwise, hyperlinks open the destination page in the same browser window as the original page containing the link. The new page replaces the first page in the window. While a viewer can always press the back button on a browser, you may prefer to keep the original page open, while also displaying the destination page in a new window. You can set this preference by adding a Target attribute to the hyperlink. This attribute specifies where the destination document opensin this case, a new browser window. To do this, click Target Frame within the Insert Hyperlink dialog box. Then, from the list of choices, select New Window. Other selections under Target Frame let you control hyperlinks created on pages that exist within a frameset. You'll learn all about frames and what these target options mean in Tutorial 6. 3.3.2. Adding Screen TipsThe more information you share with your visitors, the better their experience is bound to be. While text often serves as a hyperlink and indicates where the link might go, it's not always so clear cut. What if the hyperlink is a graphic? In some cases, you'll want to provide more info about a link. You can do this by creating a screen tipa small yellow box of text that appears when a visitor passes his cursor over a hyperlink. To add a screen tip to a hyperlink, open the Insert Hyperlink dialog box. Click Screen Tip, on the upper-right corner, and FrontPage presents you with the Set Hyperlink Screen Tip dialog box. Type in the text that you want to display and click OK. Note: Screen tips may not work in older browsersthose that predate Internet Explorer and Netscape 4.0. 3.3.3. Changing Hyperlink ColorsColors can really help your hyperlinks stand out on a page as well as provide some guidance to visitors. For instance, you can help people navigate your site, by displaying links they've already followed in a different color. Use the Page Properties dialog box to set link colors. Start by selecting File
Cascading Style Sheets, which you'll learn about in Tutorial 7, offer a better way to set hyperlink colors. Using CSS, you don't need to set colors on each and every page, but you can configure this setting just once in a style sheet and save yourself a ton of work. 3.3.4. Adding Rollover Font EffectsLater in this book, you'll read about lots of ways to add motion to your Web pages. But before you even start learning about some of these more sophisticated tools, you can easily add a simple touch of visual spice by animating your hyperlinks. FrontPage gives you the ability to change the font of a hyperlink when a visitor's cursor passes over it. The effect can be as simple as a change from normal text to bold formatting. Here's what you need to do:
Note: Font rollover effects work only in browsers that support DHTML (see Tutorial 9) and aren't available on pages that use FrontPage themes.
|
[Previous] [Content Page] [Next]
