Microsoft KB Archive/907234

= A scripting function does not work when you use FrontPage 2003 to insert a Web page into an existing Web page =

Article ID: 907234

Article Last Modified on 10/11/2005

-

APPLIES TO


 * Microsoft Office FrontPage 2003

-





SYMPTOMS
Consider the following scenario. A Web page contains a scripting function. You use Microsoft Office FrontPage 2003 to insert this Web page into an existing Web page. In this scenario, the scripting function does not work in the existing Web page.



CAUSE
This issue occurs if the scripting function appears outside the  tags of the Web page that you inserted into the existing Web page. When you insert a Web page into an existing Web page, only the contents inside the  tags are copied into the existing Web page.

Note The scripting function appears inside  tags. If you use FrontPage 2003 to generate the scripting function, the  tags may be positioned outside the  tags.



WORKAROUND
To work around this problem, follow the steps:
 * 1) Start FrontPage 2003.
 * 2) Open the Web page in which you inserted the Web page that contains the scripting function.
 * 3) On the View menu, click Code.
 * 4) Select the scripting function, and then click Cut on the Edit menu.

Note Make sure to select the  tags together with the scripting function.
 * 1) Put the pointer inside the  tags, and then click Paste on the Edit menu.
 * 2) Save the existing Web page.



Steps to reproduce the issue

 * 1) Start Office FrontPage 2003.
 * 2) Open an existing Web page.
 * 3) On the Insert menu, click Web Component.
 * 4) Under Component type, click Included Content.
 * 5) Under Choose a type of content, click Page, and then click Finish.
 * 6) Click Browse, and then select a file that contains a scripting function.

When you test the existing Web page, the scripting function does not work.

Additional query words: FrontPage 2003 Include content Page menu layer missing behavior

Keywords: kbtshoot kbprb kbfunctions KB907234

-

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

© Microsoft Corporation. All rights reserved.