FP: JavaScript Moves from <Head> to <Body> Element
Article ID: 179262
Article Last Modified on 10/28/2003
APPLIES TO
- Microsoft FrontPage 97 Standard Edition
- Microsoft FrontPage 1.1 Standard Edition
This article was previously published under Q179262
SYMPTOMS
When you insert JavaScript between the <HEAD> and </HEAD> tags in the
HyperText Markup Language (HTML) source, FrontPage moves the script between
the <BODY> and </BODY> tags.
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products listed
at the beginning of this article. This problem was corrected in Microsoft
FrontPage 98 for Windows.
WORKAROUND
To preserve the script within the <HEAD> and </HEAD> tags, edit your file in a
text editor, such as Notepad and add the script.
NOTE: If you reopen the page in FrontPage Editor, the script will be
repositioned between the <BODY> and </BODY> tags and you will need
repeat these steps.
- In FrontPage Explorer, right-click the file that contains the script and then
click Open With on the menu that appears.
- Click Text Editor (notepad.exe) and then click OK.
- Place the script between the <HEAD> and </HEAD> tags.
- On the File menu, click Save.
- On the File menu, click Close.
Additional query words: fpeditor jscript java
Keywords: kbbug kbfix kbusage KB179262