FP98: How to Use the Navigation Bar to Link to Pages Outside WebID: Q183508
|
This article describes how to use the navigation bar in FrontPage to link to pages outside you current FrontPage Web.
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.
a. Open your Web in FrontPage Explorer.
b. On the Tools menu, click Web Settings, and then click the
Configuration tab.
c. 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 in the list, use Method 2.
- Microsoft-IIS/4.0
- Microsoft-IIS/3.0
- Microsoft-IIS/2.0
- Microsoft-PWS-95/4.0
- Microsoft-PWS-95/2.0
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, you will need to 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:
Q174185 FP98: ASP Code Displayed in Browser
a. In FrontPage Explorer, click Folders on the View menu.
b. Open the root folder of your Web. On the File menu, point to New,
and then click Folder.
c. Name it cgi-bin and press Enter.
a. Right-click the cgi-bin folder and then click Properties on the menu
that appears.
b. Click to select the "Allow scripts to be run" check box. Click OK.
a. In Folders view, open the cgi-bin folder.
b. Click the New Page button on the toolbar. Name it Link.asp and
press Enter.
c. Double-click Link.asp to open it in FrontPage Editor.
d. Click the HTML tab at the bottom of the FrontPage Editor window.
e. Place the insertion point on a line by itself above the <HTML> tag
at the top of the page.
f. 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.
g. Save and close the page.
a. In FrontPage Explorer, click Navigation on the View menu.
b. In the Files pane (at the bottom of the screen in Navigation View),
open the cgi-bin folder.
c. Drag the Link.asp page to the position you want it in the navigation
structure. For example, make it a child page of your home page.
a. On the View menu, click Folders and then open your Web.
b. Click the New Page button on the toolbar. Name the page Link.htm
and press ENTER.
c. Double-click Link.htm to open the page in FrontPage Editor.
d. On the File menu, click Page Properties, and then click the Custom
tab.
e. In the System Variables (HTTP-EQUIV) section, click Add.
f. In the Name box, type "refresh" (without the quotation marks).
g. In the Value box, type "0; url=http://Server/Page.htm" (without the
quotation marks) where http://Server/Page.htm is the absolute
URL to the page you want to link to.
h. Click OK two times.
i. Save and close the page.
a. In FrontPage Explorer, click Navigation on the View menu.
b. 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.
overview, navigationand 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 : kbdta fpexp
Version : WINDOWS:
Platform : WINDOWS
Issue type : kbhowto
Last Reviewed: July 16, 1999