在news.asp中加入下面代碼:瀏覽次數: <SCRIPT language='javascript' src="../../asptohtml/counters.asp?id=<%=rs("id")%>"></SCRIPT>生成靜態(tài)頁面后:瀏覽次數: <SCRIPT language='javascript' src="../../asptohtml/counters.asp?id=730"></SCRIPT>counters.asp文件代碼: