I found a solution to the problem that I mentioned in my previous post. The problem was two-fold; As I mentioned previously, "document.write" doesn't work in correctly-served XHTML, another thing that I was doing incorrectly was using "createElement" instead of "createElementNS". The second problem took a much longer time to solve; the problem is that the <img> tag is not included in XHTML. The <object> tag replaces <img>, <applet>, and some other tags. It took a while to get correct, but now, the counter works correctly, and is displayed. Some of the sites that helped me solve this problem included XML.com, Experts Exchange, and of course, The W3C.


0 Comments:
Post a Comment
<< Home