Differences between revisions 6 and 7
Revision 6 as of 2012-01-11 19:45:58
Size: 668
Comment:
Revision 7 as of 2012-01-11 19:47:05
Size: 816
Comment:
Deletions are marked like this. Additions are marked like this.
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. 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:

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

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 called 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 is 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 graphical images you can use...a sample page of them is here:

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

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

MoinMoin Appliance - Powered by TurnKey Linux