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:
- Open the page on which you want to include a page (file) from another Web or subweb.
- Place the insertion point at the location on the page where you want to place the included page.
- On the Insert menu, point to Advanced, and then click HTML.
- 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.