15.11.2012 Views

Mechanical APDL Basic Analysis Guide - Ansys

Mechanical APDL Basic Analysis Guide - Ansys

Mechanical APDL Basic Analysis Guide - Ansys

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 19:The Report Generator<br />

After displaying the last individual image of the animation sequence, the function repeats the animation<br />

in the opposite direction (that is, starting with the prior image and decrementing). After displaying the<br />

first image again, the animation repeats in the forward direction.<br />

If not specified, the function assumes the default value of back.<br />

<br />

The HTML tag to end JavaScript code.<br />

19.6.3.3. Inserting a Data Table<br />

The following example JavaScript code creates a data table in the HTML report that you are assembling. If<br />

the specified table is not available, your report will contain a message indicating the problem.<br />

<br />

<br />

tableName('tableCaption');<br />

<br />

Following is an explanation of the JavaScript code:<br />

<br />

Loads the ansysTables.js file to provide the data table. You must include this line of code at least<br />

once in your HTML document and before calling the tableName function. Typically, this line appears<br />

in the section of an HTML document.<br />

<br />

The HTML tag to begin JavaScript code.<br />

tableName<br />

A unique data table name as it appears in the ansysTables.js file.<br />

tableCaption<br />

The caption to display for the table. This value is a string and must be enclosed in single quotation<br />

marks. It can include HTML tags around the text as well. If not specified, the function uses the default<br />

table caption.<br />

<br />

The HTML tag to end JavaScript code.<br />

19.6.3.4. Inserting a Listing<br />

The following example JavaScript code creates an ANSYS output listing in the HTML report that you are assembling.<br />

If the specified listing is not available, your report will contain a message indicating the problem.<br />

<br />

<br />

listingName('listingCaption');<br />

<br />

Following is an explanation of the JavaScript code:<br />

<br />

Loads the ansysListings.js file to provide the listing. You must include this line of code at least<br />

once in your HTML document and before calling the listingName function. Typically, this line appears<br />

in the section of an HTML document.<br />

<br />

The HTML tag to begin JavaScript code.<br />

294<br />

Release 13.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information<br />

of ANSYS, Inc. and its subsidiaries and affiliates.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!