English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Whenever I insert a hit counter to a certain page of mine, everything but the hit counter disappears. What gives?

It's a javascript counter, but I've tried regular HTML ones and those die too.



2007-12-05 05:15:10 · 3 answers · asked by Spearfish 5 in Computers & Internet Programming & Design

Ok I'm not an idiot I placed it in right.

And about the onloads...I'm just starting out so I don't know too much about them, in fact I originally had



before I was corrected by a friend.

Anyways, I have no CSS set up. startTime is only a time script, there's a greeting that will say "Good morning/afternoon/evening" depending on the day. Message is just a pop up window. Both scripts are fine, they aren't the problem (proved by the fact the page works fine without the counter).

2007-12-05 08:46:53 · update #1

3 answers

Are you replacing all the HTML code on the page with just the code for the hit counter? That's the most likely mistake.

Also, if you simply paste this code at the top of the page, or without regard to the other elements on the page, you may see only the counter.

2007-12-05 05:35:26 · answer #1 · answered by Anonymous · 1 1

Your dual onload= in the
...and why not onload="message(); startTime();" ...? or better yet, combine the functions of message and startTime into one external javascript routine which itself calls the two... at any rate, if it diddles the css settings, THAT could be part of your problem: check it out! And the onload boogers have to execute before the call to the statcounter can get there, so you might want to try reload to see whether your other stuff shows up, THEN.

2007-12-05 05:53:54 · answer #2 · answered by fjpoblam 7 · 0 0

You arent going to like it, yet hit counters suck. All it takes is one centred visitor to sit down down there with their finger on the refresh button and unexpectedly it spikes up one thousand. Use internet site information for greater desirable reporting.

2016-10-19 06:44:11 · answer #3 · answered by Anonymous · 0 0

fedest.com, questions and answers