统计静态页点击量

方法1:ajax

function window.onload() {
        ajax('comment.asp?id='+comment_id+'','blog');
 }

方法2:

 

<html>
<head>
<title>$title$ by Ciker.Net</title>
</head>
<body>
<script type="text/javascript">
var url = document.location.href.substr(document.location.href .lastIndexOf('/')+1);
var script = document.createElement("script");
script.src="click.asp?file="+url;
document.body.appendChild(script);
</script>

posted @ 2009-01-07 22:44  Jason.Bird  阅读(370)  评论(1编辑  收藏  举报