The Resulting Pace Calculator
The Generated HTML
The HTML below is for the layout.
The JavaScript
For the Pace Calculator logic, include the dot-js files using the following HTML, which supplements the HTML generated above.
<script language="JavaScript" src="pacecalc.js"></script> <script language="JavaScript" src="pacecalc_example.js"></script>pacecalc.js has the core logic, and pacecalc_example.js implements it to match up with the field names in the above HTML.
Download the files here:
pacecalc.js
pacecalc_example.js
The JavaScript - Alternate Method
If you find it easier, copy the contents of the dot-js files from below. They will still need to be placed in separate files with the appropriate names. Or the code can be placed in the HTML file between <SCRIPT> tags. Refer to the MREDKJ JavaScript Intro for more information about using JavaScript.
pacecalc.js
|
MREDKJ Pace Calculators JavaScript Table of Contents MREDKJ.com
|