Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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.


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




↑ Back to the top


Keywords: KB230124, kbhowtomaster, kbhowto

↑ Back to the top

Article Info
Article ID : 230124
Revision : 1
Created on : 10/27/2002
Published on : 10/27/2002
Exists online : False
Views : 338