FP2000: How to Preserve Alterations to Outline.js and Animate.js Files

ID: Q230124


The information in this article applies to:
  • Microsoft FrontPage 2000


SUMMARY

In Microsoft FrontPage 2000, the dynamic animations and collapsible outline features are created using JavaScript. The JavaScript files that are used are easily accessible in the FrontPage web, and an experienced JavaScript programmer can alter them using any text editor. However, in order to preserve any custom edits made to the JavaScripts, a specific naming convention is required.

This article describes how to preserve changes to Outline.js and Animate.js files.


MORE INFORMATION

Text Animations:

The following instructions demonstrate how to change FrontPage Dynamic HTML (DHTML) for text animation in the Animate.js file. You must make the following changes so that FrontPage does not overwrite your modified script.
  1. In the script tag, change type="dynamicanimation" to type="mydynamicanimation".


  2. In the first script statement, change all instances of "dynamicanimation" to "mydynamicanimation".


  3. Throughout the HTML content, change all instances of dynamicanimation= to mydynamicanimation=.


  4. Change function dynAnimation to function mydynAnimation.


  5. In the body tag, change onload="dynAnimation()" to onload="mydynAnimation()".


Collapsible Outlines:

The following instructions demonstrate how to change FrontPage Dynamic HTML (DHTML) for collapsible outlines in the Outline.js file. You must make the following changes so that FrontPage does not overwrite your modified script.
  1. In the script tag, change fptype="dynamicoutline" to fptype="mydynamicoutline".


  2. In function dynOutlineEnabled, change "dynamicoutline" to "mydynamicoutline".


  3. Throughout the HTML content, change all instances of dynamicoutline to mydynamicoutline.


  4. Change function dynOutline to function mydynOutline.


  5. In the body tag, change onclick="dynOutline()" to onclick="mydynOutline()".


Additional query words: fp2k

Keywords : kbdta
Version : WINDOWS:
Platform : WINDOWS
Issue type : kbinfo


Last Reviewed: October 6, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.