Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

How to create one hyperlink that links multiple targets or frames in FrontPage 2003


For a Microsoft FrontPage 2002 version of this article, see 310900 .

↑ Back to the top


Summary

This article describes how to create a single hyperlink in Microsoft Office FrontPage 2003 that links to multiple targets.

Note This article assumes that you have already created a frames page and saved it to your Web site.

back to the top

Create the Hyperlink

  1. In FrontPage 2003, select the text where you want to create the hyperlink, and then click Hyperlink on the
    Insert menu.
  2. In the Insert Hyperlink dialog box, click to select the page that you want to link to.

    The page name appears in the Address box.
  3. Click Target Frame, select an item in the
    Common targets box, or click one of the rectangles in the graphic, and then click OK.
  4. Click OK to close the Insert Hyperlink dialog box.
back to the top

Modify Hyperlink Properties

  1. Click the Code (Show Code View) tab.
  2. Locate the hyperlink tag that you created in the "Create the Hyperlink" section earlier in this article, for example:
    <a target="rtop" href="SomePage.htm">SomePage</a>
  3. Insert the following onClick attribute between .htm" and > in the anchor tag:
    onClick="parent.frames[n].location.href='URL';"
    where n indicates the number of the frame where you want the resource to appear and URLis the Uniform Resource Locator of the page that you want to appear in that frame, for example:
    <a target="rtop" href="SomePage.htm" onClick="parent.frames[2]
    .location.href='AnotherPage.htm';">SomePage</a>
    Note that because frame numbers start at zero, parent.frames[2] indicates the third frame in a collection.

    Note You may receive an error message if you copy the examples directly from this article and paste them into FrontPage 2003. The angle brackets (< and >) may appear as escaped HTML code (&lt; and &gt). To work around this behavior, paste the script into a blank Notepad document, and then copy it from Notepad before you paste it into FrontPage 2003.
  4. On the File menu, click
    Save.
back to the top

↑ Back to the top


Keywords: kb, kbhowtomaster, kbentirenet, kbsweptsoltax

↑ Back to the top

Article Info
Article ID : 825496
Revision : 8
Created on : 8/19/2020
Published on : 8/19/2020
Exists online : False
Views : 119