Microsoft KB Archive/310900

= How to create a hyperlink that links multiple targets or frames in FrontPage 2002 =

Article ID: 310900

Article Last Modified on 9/30/2004

-

APPLIES TO


 * Microsoft FrontPage 2002 Standard Edition

-



This article was previously published under Q310900





For a Microsoft FrontPage 2003 version of this article, see 825496.

IN THIS TASK

 * SUMMARY
 * Create the Hyperlink
 * Modify Hyperlink Properties
 * REFERENCES



SUMMARY
This article describes how to create a single hyperlink that links to multiple targets.

This procedure assumes that Microsoft FrontPage is installed under Microsoft Windows 2000, Microsoft Windows XP Professional, or Microsoft Windows XP Home, and that you have already created and saved a Web site.

back to the top

Create the Hyperlink

 * 1) In FrontPage, select the text on which 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.
 * 1) Click Target Frame, select an item in the Common targets box, or click one of the rectangles in the graphic, and then click OK.
 * 2) Click OK to close the Insert Hyperlink dialog box.

back to the top

Modify Hyperlink Properties
 In FrontPage, click the HTML tab.  Locate the hyperlink tag that you created in the &quot;Create the Hyperlink&quot; section earlier in this article, for example: SomePage   Insert the following onClick parameter between .htm&quot; and > in the anchor tag onClick=&quot;parent.frames[].location.href='';&quot; where  indicates the number of the frame in which you want the resource to appear, and  is the Uniform Resource Locator of the page that you want to appear in that frame. For example: 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. The angle brackets may appear as escaped HTML code. 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. </li> On the File menu, click Save.</li></ol>

back to the top

<div class="references_section">