A scripting function does not work when you use FrontPage 2003 to insert a Web page into an existing Web page (907234)
The information in this article applies to:
- Microsoft Office FrontPage 2003
SYMPTOMSConsider 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.CAUSEThis issue occurs if the scripting function appears outside the <BODY> 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 <BODY> tags are copied into the existing Web page.
Note The scripting function appears inside <SCRIPT> tags. If you use FrontPage 2003 to generate the scripting function, the <SCRIPT> tags may be positioned outside the <BODY> tags. WORKAROUNDTo work around this problem, follow the steps: - Start FrontPage 2003.
- Open the Web page in which you inserted the Web page that contains the scripting function.
- On the View menu, click Code.
- Select the scripting function, and then click Cut on the Edit menu.
Note Make sure to select the <SCRIPT> tags together with the scripting function. - Put the pointer inside the <BODY> tags, and then click Paste on the Edit menu.
- Save the existing Web page.
Modification Type: | Major | Last Reviewed: | 10/11/2005 |
---|
Keywords: | kbtshoot kbfunctions kbprb KB907234 kbAudDeveloper kbAudGeneralUser kbAudITPRO |
---|
|