Smokin' Award
Home: return to home page

Criteria: do you have what it takes to win this award?

Winners: check out these smokin' sites!

Railroad Award Sites: other awards that you could win.

Hook & Eye: visit the railroad site sponsoring the Smokin' Award.

AwardStat(TM) Page Bottom
How to use AwardStat.

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

  1. 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

  1. 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.)

  2. Save the text file as "awardstat.js" and place it in the same directory as your HTML statistics page.


Edit your statistics page

  1. 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.

<html>
<head>
<title>Statistics Page</title>

<script language="JavaScript1.2" src="awardstat.js" type="text/javascript">
</script>


</head>

  1. Add the following code into the BODY where you want the statistics table(s) to appear.

<body>

<script language="JavaScript1.2" type="text/javascript">
<!--

//-->
</script>

</body>

  1. 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.

  2. Save your HTML document and give it a test run.

  3. Sit back and crack open a cold one.
Page Top
Page Bottom
Page Top

Contact  |  Sitemap  |  Copyright  |  Privacy  |  Revised: 4/16/07