Differences between revisions 9 and 10
Revision 9 as of 2012-01-11 20:00:02
Size: 930
Comment:
Revision 10 as of 2012-01-11 20:01:52
Size: 932
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
1) Ask Chris to create the necessary file on the server for storing your page count. He will give you the name of the file...let's called it PAGENAME. 1) Ask Chris to create the necessary file on the server for storing your page count. He will give you the name of the file...let's call it PAGENAME.
Line 14: Line 14:
This will put a GIF image of the number on your page. To give it some meaning, preface the code above with something like "Number of hits:" so people know what the number is. There are a number of different graphical images you can use...a sample page of them is here: This will put a GIF image of the number on your page. To give it some meaning, preface the code above with something like "Number of hits:" so people know what the number is.

There are a number of different numeral graphics you can use...a sample page of them is here:

If you want to add a hit counter to your page:

1) Ask Chris to create the necessary file on the server for storing your page count. He will give you the name of the file...let's call it PAGENAME.

2) Edit the page you want to count, and add this code:

<SCRIPT LANGUAGE="Javascript" SRC="http://www.bcs.rochester.edu/counter/graphcount.php?page=PAGENAME&style=57chevy"><!-- //--></SCRIPT>

Replace PAGENAME with the name Chris gave you. Leave the rest of the code as-is.

This will put a GIF image of the number on your page. To give it some meaning, preface the code above with something like "Number of hits:" so people know what the number is.

There are a number of different numeral graphics you can use...a sample page of them is here:

http://www.bcs.rochester.edu/counter/samples.html

To change the graphic type, replace '57chevy' in the code above with the name of the desired graphic type.

HitCounterInstructions (last edited 2012-01-11 20:01:52 by WikiAdministrator)

MoinMoin Appliance - Powered by TurnKey Linux