其他语言

本类阅读TOP10

·基于Solaris 开发环境的整体构思
·使用AutoMake轻松生成Makefile
·BCB数据库图像保存技术
·GNU中的Makefile
·射频芯片nRF401天线设计的分析
·iframe 的自适应高度
·BCB之Socket通信
·软件企业如何实施CMM
·入门系列--OpenGL最简单的入门
·WIN95中日志钩子(JournalRecord Hook)的使用

分类导航
VC语言Delphi
VB语言ASP
PerlJava
Script数据库
其他语言游戏开发
文件格式网站制作
软件工程.NET开发
我的csdn / blog记数器,音乐如何加入的?

作者:未知 来源:月光软件站 加入时间:2005-2-28 月光软件站

以下是我这个blog [静态新闻/声明]里代码,问我怎么加计数器的朋友,可以看看。
希望你们也有个可以计量访问量的记数器,看到访问量慢慢增加,体会那种感觉,cool !
---------------------------------------------------------------------------------------------------------------
<div style="height:132;overflow:hidden;">
<embed src="http://www.clocklink.com/Clocks/0001-green.swf?TimeZone=CCT"
 width="150" height="150" _style="position:absolute;z-index:2;top:85;left:133;" wmode="transparent" type="application/x-shockwave-flash">
</div>
当前页:<img src="" id="PageView"><br>
总计数:<img src="" id="TotalView",style="display:none"><br>

<script>
//设置两个计数计的外观样式,取值1-60
var PageCountStyle=48
var TotalCountStyle=48
try{
var sUrl=self.location.href
var re=new RegExp("(.+\.net\/)([^\/]+)([^\.]*)","ig")
if(re.test(sUrl))
{
var blog_id=RegExp.$2;
var page_id=blog_id+"__"+RegExp.$3.replace(/\//g,"");
blog_id+="__CSDNBLOG"
var cUrl="http://nmc2.jy.js.cn/cgi-bin/counter.pl?ln=8&bd=$0;$0;$255&from=0"
document.all.PageView.src=cUrl+"&id="+page_id+"&md=a"+PageCountStyle
document.all.TotalView.src=cUrl+"&id="+blog_id+"&md=a"+TotalCountStyle
}
}catch(e){;}
</script>
<hr>
Ning Yan Bin<br>
mail:<a href="mailto:[email protected]">[email protected]</a><br>
msn:[email protected]
<hr>
<center>始建于2004年11月24日</center>
<hr>
<EMBED id=olplayer src=http://gf.yf163.com/tmp/mp3.asx width=180 height=45 type=video/x-ms-asf   loop="false" AutoStart="false">
---------------------------------------------------------------------------------------------------------------




相关文章

相关软件