Java Script
-
Please anyone help. I tried to paste a S_T_A_T_S counter script into my wordpress blog with no success. I used the text widget. Please help!
The script is as follows.<!– S-T-A-T-S Counter v2 –>
<!–
bd = “http://s-t-a-t-s.com/counternew.php?id=885”;
ur = bd+”&w=”+screen.width+”&r=”+escape(document.referrer)+”&u=”;
ur += escape(document.location)+”&t=”+escape(document.title);
ur += “&java=1″+”&sc_random=”+Math.random();
document.write(‘<img src=”‘+ur+'” alt=”Directory” height=”31″ width=”88″ border=”0″>‘);
//–>
<img src=”http://s-t-a-t-s.com/counternew.php?id=885″ alt=”Directory” height=”31″ width=”88″ border=”0″>
<!– S-T-A-T-S Counter –> -
You can use Sitemeter or any stat counter that has an HTML-only widget, just by putting it in a text widget. You cannot use javascript at all.
- The topic ‘Java Script’ is closed to new replies.