SubZane
04-23-2004, 08:44 AM
There are still some changes needed to be done to make the counter XHTML valid
For the HTML this needs to be changed:
<script type="text/javascript" language="javascript">
To
<script type="text/javascript">
For the javascript you need to change the document.write to
document.writeln('<div class="statcounter">'+sc_tracking_url+' (http://www.StatCounter.com)</div>');
and this as well
else if (window.sc_text) {
document.writeln('<scr' + 'ipt src="' + sc_tracking_url + '" type="text/javascript"></scr' + 'ipt>');
}
For the HTML this needs to be changed:
<script type="text/javascript" language="javascript">
To
<script type="text/javascript">
For the javascript you need to change the document.write to
document.writeln('<div class="statcounter">'+sc_tracking_url+' (http://www.StatCounter.com)</div>');
and this as well
else if (window.sc_text) {
document.writeln('<scr' + 'ipt src="' + sc_tracking_url + '" type="text/javascript"></scr' + 'ipt>');
}