troubleshooting Question

Hit Counter not working

Avatar of NorthDorsetWeb
NorthDorsetWeb asked on
JavaScriptWeb DevelopmentScripting Languages
9 Comments1 Solution350 ViewsLast Modified:
I have been using a hit counter for a few years on a particular site.  its maintained by a third party.

All of a sudden it doesnt seem to be working it shoudl be at 10,443 - it was working up until 9,000.

I have tried to contact Stats Machine without success - is this something within my code?  

If this is a problem at their end does anyone have an alternative solution whereby I can start the code at what should be the current count?  Preferably free or a tutorial.

Thanks.

I would be grateful for some assistance.  Here is the code:
In the head:
<script src="http://www.statsmachine.com/cgi-bin/counter.cgi?558|55838" type="text/JavaScript"></script>

In the body:
<a href="http://www.statsmachine.com/"><script type="text/javascript"><!--
mycount = mycount + 1;
var ooooooo = Math.floor((mycount)/1000000);
mycount = (mycount-(ooooooo*1000000));
var oooooo = Math.floor((mycount)/100000);
mycount = (mycount-(oooooo*100000));
var ooooo = Math.floor((mycount)/10000);
mycount = (mycount-(ooooo*10000));
var oooo = Math.floor((mycount)/1000);
mycount = (mycount-(oooo*1000));
var ooo = Math.floor((mycount)/100);
mycount = (mycount-(ooo*100));
var oo = Math.floor((mycount)/10);
mycount = (mycount-(oo*10));
var o = mycount;
document.write("<img border=0 src=" + ooooooo + ".gif><img border=0 src=" + oooooo + ".gif><img border=0 src=" + ooooo + ".gif><img border=0 src=" + oooo + ".gif><img border=0 src=" + ooo + ".gif><img border=0 src=" + oo + ".gif><img border=0 src=" + o + ".gif>");
// --></script>
ASKER CERTIFIED SOLUTION
Zvonko
Systems architect
Join our community to see this answer!
Unlock 1 Answer and 9 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros