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.

FP2000: How to Include a Page (File) from Another Web


View products that this article applies to.

This article was previously published under Q257279

↑ Back to the top


Summary

The FrontPage Include component does not allow you to include a page (file) that is not in the current Web. This article demonstrates how to include a page from another Web or subweb in your current Web.

↑ Back to the top


More information

You can use HTML tags to include a file from another Web or subweb. The following example assumes that the file (named Include.htm) resides in the root Web and that the page that contains the included page is in a subweb.

To include a page that is not in the current Web, follow these steps:
  1. Open the page on which you want to include a page (file) from another Web or subweb.
  2. Place the insertion point at the location on the page where you want to place the included page.
  3. On the Insert menu, point to Advanced, and then click HTML.
  4. Insert the following lines of HTML code:
    <!-- The layer tag is for Netscape Navigator, and the IFrame tag is for Microsoft Internet Explorer. -->
    <layer src="../include.htm" width="100%" height="400*"></layer>
    <IFRAME NAME="includeframe" width="100%" height="400*" SRC="../include.htm" frameborder=0></IFRAME>
    					

    Change the Source attributes to include the appropriate paths to your files.

    NOTE: The layer tag and IFRAME tag are necessary, because Microsoft Internet Explorer ignores the layer tag, and Netscape Navigator ignores the IFRAME tag.

    Click OK.

↑ Back to the top


Keywords: KB257279, kbinfo

↑ Back to the top

Article Info
Article ID : 257279
Revision : 1
Created on : 12/2/2000
Published on : 12/2/2000
Exists online : False
Views : 209