Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 907234 - Last Review: October 11, 2005 - Revision: 1.0
A scripting function does not work when you use FrontPage 2003 to insert a Web page into an existing Web page
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.
This 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.
To 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.
Steps to reproduce the issue
- Start Office FrontPage 2003.
- Open an existing Web page.
- On the Insert menu, click Web Component.
- Under Component type, click Included Content.
- Under Choose a type of content, click Page, and then click Finish.
- 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.
APPLIES TO
- Microsoft Office FrontPage 2003
| kbtshoot kbprb kbfunctions KB907234 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate