Mechanical APDL Basic Analysis Guide

(Axel Boer) #1

Following is an explanation of the JavaScript code:



Loads the ansysImages.js file to provide the images. You must include this line of code at least
once in your HTML document and before calling the imgName function. Typically, this line appears
in the section of an HTML document.

The HTML tag to end JavaScript code.
19.6.3.2. Inserting an Animation

The following example JavaScript code creates an animation sequence in the HTML report that you are
assembling. If the specified animation is not available, your report will contain a message indicating
the problem.


<script LANGUAGE="JavaScript1.2" SRC="ansysAnimations.js"> </script>
<script>
animName('animCaption',animTime, 'animDirect');
</script>

Following is an explanation of the JavaScript code:



Loads the ansysAnimations.js file to provide the animation sequences. You must include this
line of code at least once in your HTML document and before calling the animName function. Typ-
ically, this line appears in the section of an HTML document.