January 14th, 2003, 08:49 PM
I'm trying to upgrade my husband's site to xhtml, and I'm having problems with the free counter (his security blanket):
<!-- WEBBOT bot="HTMLMarkup" startspan ALT="Site Meter" -->
<a href="http://sm5.sitemeter.com/stats.asp?site=myidhere" target="_top">
<img src="http://sm5.sitemeter.com/meter.asp?site=myidhere" alt="Site Meter" border="0" /></a>
<!-- Copyright (c)2002 Site Meter -->
<!-- WEBBOT bot="HTMLMarkup" Endspan -->
It works well in the old, regular (no DTD) HTML, and as XHTML in IE. I'm having problems with Netscape 6 (Mac and PC), though. I have a table, and columns and rows disappear!!!
It seems to have something to do with the statement
var site="myidhere". When I take it out, it works in Netscape (but no longer in IE since it needs the value in the variable). It even works in Netscape if I just change a letter in the name of the variable (ie to sited instead of site). Since it's not my script (it calls it from sitemeter.com), I can't change the name of the variable.
I contacted sitemeter, but I haven't heard from them yet.
Any ideas what could be wrong?
January 18th, 2003, 02:50 AM
January 18th, 2003, 08:58 PM
Actually, that's what I did.
I looked at the old counter's script, and it turns out they use some unclosed <img> tags...
I'll check the ones you mentioned though. Maybe they'll have better stats.