如何隐藏统计代码,隐藏统计代码图标或文字的方法
十.27, 2009 in
网站建设
如果你比较习惯用国内的统计代码,如CNZZ或者是51LA等,如果你做的是英文站,那么可能你希望能够将统计代码隐藏起来,或者你不希望你的英文站上出现国内统计代码的图标或者文字,那么可以试试以下的方法,
方法很简单,将统计代码放到以下这一小代码中间即可,如:
<span style=”display:none”>这里放你网站上的统计代码 </span>
即:
<span style=”display:none”>
<script src=”http://s101.cnzz.com/stat.php?id=*****&web_id=****”></script></span>
这样,你的统计代码的图标或者文字就被完全隐藏起来了。如果你做的是wordpress博客,那么在footer.php文件里,在</body>之前加上上面的代码即可。有兴趣的试试吧!

十月 27th, 2009 at 10:21 下午
呵呵,支持扫盲贴
十月 28th, 2009 at 1:39 上午
有统计代码有时候看起来不美观,有这个代码就好看多了。
十月 28th, 2009 at 1:51 上午
隐藏了就不方便点击了
十月 28th, 2009 at 2:45 上午
恩,我的都隐藏了
十月 29th, 2009 at 5:51 上午
这个到无所谓,自己查询不太方便而已
十月 29th, 2009 at 6:17 上午
是这么的 呵呵~·
一月 30th, 2010 at 4:19 下午
Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained! I’m sure you had fun writing this article.
一月 30th, 2010 at 7:18 下午
Hi, good day. Wonderful post. You have gained a new subscriber. Pleasee continue this great work and I look forward to more of your great blog posts.
二月 8th, 2010 at 9:42 上午
Cool, there is actually some great ideas on here some of my subscribers may find this relevant, I will send them a link, many thanks.
二月 8th, 2010 at 10:17 上午
Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained! I’m sure you had fun writing this article.