Adobe Web Tech Curriculum

Unit 6: Hyperlinks, Lists, and CSS

Lesson 6.2: Hyperlinks

Within-Site Web Links

As mentioned previously, within-web links (intrasystem links) link to a different page within the same website. GoLive makes the process of linking to other pages within the same website easy by making available the New Link button GoLive New Link Button from many different locations within GoLive.

Creating Within-Site Web Links

Creating Within-Site Web Links via the GoLive Toolbar

To add a new link via the GoLive Toolbar to text already entered into the Document Window, follow these steps:

  1. Select the to-be-linked text.
  2. Click the New Link button GoLive New Link Buttonon the toolbar; this immediately "dims" the button and illuminates the Remove Link button GoLive Remove Link Buttonlocated to the right of the New Link button. The highlighted selected text appears with an underline once the link button is selected. Also, the previously empty link field within the Text Inspector (see Figure 6.2-3) now contains the following text: (EmptyReference!) link field with '(EmptyReference!)'.
  3. Click the Browse button Browse Button of the Text Inspector to display the Open dialog box.
  4. Select the desired file to link to and click Open.
  5. The selected text is now blue and underlined, indicating a link.
GoLive Text Inspector

Figure 6.2-3: GoLive Text Inspector

Creating Within-Site Web Links via the Text Inspector

To add a new link via the Text Inspector to text already entered into the Document Window, follow the second set of steps described above. Again, the New Link and Remove Link buttons within the Text Inspector are used rather than those found on the GoLive Toolbar.

Creating Within-Site Web Links via the Fetch URL (Pick Whip) Button

To add a new link via the Fetch URL (Pick Whip) button to text already entered into the Document Window, follow these steps:

  1. Select the to-be-linked text.
  2. Click the New Link button on the Toolbar or in the Link Inspector.
  3. Make sure the Site Window is visible, but is not the active window.
  4. Click the Fetch URL button GoLive Fetch URL Button in the link field of the Text Inspector and drag to the to-be-linked file in the Site Window. Dragging over a closed folder will open the folder and display the files within the folder.
  5. The link now appears in blue, underlined text.

Creating Within-Site Web Links via the Special Menu

Links can also be created or removed by using the New Link or Remove Link options in the Special Menu.

The steps for creating links described above also apply to creating links via the Special Menu; just substitute the Special Menu link options with the link buttons described above.

CS Update

Users of GoLive 6 will notice a few changes in the process of creating hyperlinks:

  • GoLive hyperlinks are no longer created prior to text being entered.
  • The Fetch URL or Point and Shoot button is now called the Pick Whip button.

Under the Hood


Demonstration or Practice Activity

  1. View the links destinations graphic presented previously. Note the within-web link from the Instruments page to the Guitar page.
  2. In GoLive, create a new site called Hyperlink_Practice by importing the content pages from the Link_Practice folder. This will help you review the steps involved in creating an new site by importing existing content. (See the Site Wizard — Import from Folder section of the Creating a Project Site Using GoLive lesson.)
    1. Select instruments.html as the site's home page.
    2. Don't forget that any page you import or create should be XHTML-compliant.
  3. Open the instruments.html page.
  4. Make sure the Layout tab is selected.
  5. Create a within-web link from the Instruments page's h2 "Guitar" heading to the guitar.html page (as shown in the links destinations graphic), using one of the methods described above.
  6. Create a within-web link from the Instruments page's h2 "Mandolin" heading to the mandolin.html page, using another one of the methods described above.
  7. Save the changes to the Instruments page.
  8. View the code for the hyperlinks in the Source Editor.
  9. Test the hyperlinks by displaying the Instruments page in a browser and clicking on the links.