Microsoft KB Archive/183508

= FP98: How to Use the Navigation Bar to Link to Pages Outside Web =

Article ID: 183508

Article Last Modified on 9/24/2001

-

APPLIES TO


 * Microsoft FrontPage 98 Standard Edition

-



This article was previously published under Q183508



SUMMARY
This article describes how to use the navigation bar in FrontPage to link to pages outside your current FrontPage Web.



MORE INFORMATION
You can only include pages from the current FrontPage Web in the navigational structure of your Web. However, you can redirect a page in the current Web to a page outside your current Web by using one of the following methods.

Method 1: Use Active Server Pages to Redirect to Another Page
 Determine whether your Web server supports Active Server Pages (ASP). To do this, follow these steps:  Open your Web in FrontPage Explorer. On the Tools menu, click Web Settings, and then click the Configuration tab. Find the Server Version section. To use ASP, you must have one of the following Web servers installed. If you do not see one of these servers from this list, use Method 2.

 Microsoft-IIS/4.0 Microsoft-IIS/3.0 Microsoft-IIS/2.0</li> Microsoft-PWS-95/4.0</li> Microsoft-PWS-95/2.0</li></ul>

NOTE: If you are using a Web server other than Microsoft Internet Information Server 4.0 or Microsoft Personal Web Server for Windows 95 version 4.0, install the ASP engine on the Web server. For additional information about installing the ASP engine, please see the following article in the Microsoft Knowledge Base:

174185 FP98: ASP Code Displayed in Browser

</li></ol> </li> Create a cgi-bin folder. If you already have a cgi-bin folder in your Web, skip to step 3. <ol style="list-style-type: lower-alpha;"> In FrontPage Explorer, click Folders on the View menu.</li> Open the root folder of your Web. On the File menu, point to New, and then click Folder.</li> Name it cgi-bin and press ENTER.</li></ol> </li> Make the cgi-bin folder executable. To do this follow these steps: <ol style="list-style-type: lower-alpha;"> Right-click the cgi-bin folder and then click Properties on the menu that appears.</li> Click to select the Allow scripts to be run check box. Click OK.</li></ol> </li> Create the ASP page. <ol style="list-style-type: lower-alpha;"> In Folders view, open the cgi-bin folder.</li> Click the New Page button on the toolbar. Name it Link.asp and press ENTER.</li> Double-click Link.asp to open it in FrontPage Editor.</li> Click the HTML tab at the bottom of the FrontPage Editor window.</li> Place the insertion point on a line by itself above the <HTML> tag at the top of the page.</li> <li> Type the following ASP code <% Response.Redirect("http://Server/Page.htm") %> where "http://Server/Page.htm" is the absolute Uniform Resource Locator (URL) of the page you want to link to. </li> <li>Save and close the page.</li></ol> </li> <li>Add the newly created ASP page to the navigation structure of your Web. <ol style="list-style-type: lower-alpha;"> <li>In FrontPage Explorer, click Navigation on the View menu.</li> <li>In the Files pane (at the bottom of the screen in Navigation View), open the cgi-bin folder.</li> <li>Drag the Link.asp page to the position you want it in the navigational structure. For example, make it a child page of your home page.</li></ol> </li> <li>Preview your home page in a Web browser and follow the link in the Navigation bar.</li></ol>

Method 2: Use a System Variable to Redirect to Another Page
<ol> <li>Create a new page in FrontPage Explorer. <ol style="list-style-type: lower-alpha;"> <li>On the View menu, click Folders and then open your Web.</li> <li>Click the New Page button on the toolbar. Name the page Link.htm and press ENTER.</li> <li>Double-click Link.htm to open the page in FrontPage Editor.</li> <li>On the File menu, click Page Properties, and then click the Custom tab.</li> <li>In the System Variables (HTTP-EQUIV) section, click Add.</li> <li>In the Name box, type refresh .</li> <li>In the Value box, type 0; url=http://Server/Page.htm where http://Server/Page.htm is the absolute URL to the page you want to link to.</li> <li>Click OK two times.</li> <li>Save and close the page.</li></ol> </li> <li>Add the newly created page to the navigation structure of your Web. <ol style="list-style-type: lower-alpha;"> <li>In FrontPage Explorer, click Navigation on the View menu.</li> <li>Drag the Link.htm page to the position you want it in the navigation structure. For example, make it a child page of your home page.</li></ol> </li> <li>Preview your home page in a Web browser and follow the link in the Navigation bar.</li></ol>

For more information about navigation bars, click the Index tab in FrontPage Help, type the following text

overview, navigation

and then double-click the selected text to go to the "Using Navigation Bars and Shared Borders" topic.

Additional query words: 98 nav refresh redirect asp navbar

Keywords: kbhowto KB183508

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.