Most webmasters will probably dislike me for this, but I have a good reason for it-
Here’s my situation:
AOL deleted my counter that I’ve had for two years, I tell them that, and they say “It must have been currupted or damaged, blah blah blah (they didn’t even see my counter) and in the end, told me to get a new counter- turns out the new counters condensed the size of the code (the reason why they purposely deleted mine).
I had over 7,688 visitors to my site, and now, I must start back over at 1. So, I created a webpage that had 80 frames- 4×20. Each frame loaded a page (the page was the same for every frame) and it contained the counter (so, going to the page once would load the counter 80 times)- however, this was not the case, as it only loaded once in each frame, not changing the number.
I experimented with some coding and then it started to go up and up, but then would reset back at one.
Is there any coding to prevent this??
My counter:
<img src=”
My tested code to hopefully work for frames page:
<htpdiv x=6 y=6 width=88 height=31 type=counter name=counter cid=4313858 uid=5398286 ocid=5099850 host=86 hitoblob=100-W%2fj1Qnzkv1N5G3qqHKq0asSmCZ4XbA36rAXlKA49%2fso%3d>
<script language=”Javascript1.1″>
<!–
d=document;
ref = d.referrer;
refsrc = d.referrer;
if(navigator.appName.toLowerCase().indexOf(“netscape”) != -1){refsrc = ref.substring(0, ref.indexOf(“?”));}
c='<img border=0 ‘+’src=”
if(parseFloat(navigator.appVersion)>=4){x=’x’;s=screen;
c+=s.width+x+s.height+x+s.pixelDepth+x+s.colorDepth;}
d.writeln(c+’$’+refsrc+'”>’);
// –>
</script>
<noscript>
<p>
<img border=0 src=”
</noscript>
</htpdiv>
NEWER CODE:
<script language=”Javascript1.1″>
<!–
d=document;
ref = d.referrer;
refsrc = d.referrer;
if(navigator.appName.toLowerCase().indexOf(“netscape”) != -1){refsrc = ref.substring(0, ref.indexOf(“?”));}
c='<img border=0 ‘+’src=”
if(parseFloat(navigator.appVersion)>=4){x=’x’;s=screen;
c+=s.width+x+s.height+x+s.pixelDepth+x+s.colorDepth;}
d.writeln(c+’$’+refsrc+'”>’);
// –>
</script>
<noscript>
<p>
<img border=0 src=”
</noscript>
</htpdiv>