HOW TO: Preserve Alterations to Outline.js and Animate.js Files in FrontPage 2000 (230124)



The information in this article applies to:

  • Microsoft FrontPage 2000

This article was previously published under Q230124

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.


back to the top

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()".

back to the top

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()".

back to the top



Modification Type:MajorLast Reviewed:10/27/2002
Keywords:kbhowto kbHOWTOmaster KB230124