By following the steps below, you will place the statistics table you have
just created into your HTML page. If you need any help please contact me.
I do support my code. Also, I will welcome any suggestions that you may
have to improve AwardStat. Contact me below.
Make a Backup
First you should backup the entries that
you put into the form in case you need to update your statistics table. This
is very important because when I make changes to the AwardStat code you will
usually need to make a new table by filling out the form again.
Below are the entries that you have input into the form. Simply select, copy
and save this to a text file or print it out for future reference.
Create awardstat.js
Select and copy the JavaScript code below and paste it into a blank ASCII text file.
("ASCII" is an acronym that stands for the American National Standard Code for Information Interchange.
It is a standard for encoding text documents containing no special embedded control characters. NotePad is
an example of an ASCII editor.)
Save the text file as "awardstat.js" and place it in the same directory as your
HTML statistics page.
Edit your statistics page
Add the following code into the HEAD of your HTML statistics document.
Note: If you select and paste these code snippets below into your HTML editor, it
may not display the code properly. It is best to paste the code into a text editor
like NotePad, or type it directly from your keyboard into your HTML editor.
The red copy is the code you can edit. A value matches the description
in the commented line above it. The first value is what you entered as "Header 1"
in the previous form. It is what you want to name this particular statistics table.
This is useful for those who want to have several differently named tables on a page.
The remaining number values correspond to the amount values of your awards on a
particular statistics table (Entered as initial values from the previous form).
This will obviously need to be edited each time your statistics change.