标题: 求模版的字数统计代码? [打印本页]
作者: xinxinjunhua 时间: 2012-8-6 15:36
标题: 求模版的字数统计代码?
求哪位大大帮我在下面的模版中,加一段字数统计代码?
就是将鼠标放到目录的标题上,就会显示这个章节的字数。。。。
谢谢。。。
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>[PART1]</title>
<style>
<!--
.title_index{ /*大标题样式*/
font-size: 26pt;
font-family: "隶书";
color: #999966;
font-weight: bold;
}
.title_page{ /*题目样式*/
font-size: 16pt;
font-family: "隶书";
color: #999966;
font-weight: bold;
}
.content{/*内容样式*/
font-size: 10.5pt;
font-family: "宋体";
line-height: 180%; /*行距*/
}
.content img {
margin: 7px;
}
.9{ font-size: 9pt }
.TitleLinks{ /*索引列表的停靠方位*/
text-align: center;
}
.TitleLinks .content { /*索引页使用文字列表符时,修改行距*/
line-height: 20pt;
}
.TitleLinks .content img { /*索引页使用图形列表符时,修改行距*/
margin-top: 7px;
margin-bottom: 7px;
}
A:link {text-decoration: none; color:#0033CC}
A:visited {text-decoration: none; color: #0033CC}
A:active {text-decoration: none; color: #0000ff }
A:hover {text-decoration: underline; color: #FF0000 }
-->
</style>
</head>
<body bgcolor="#009966">
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" width="90%">
<tr>
<td width="90%" bgcolor="#000000"><table border="0" cellspacing="1" width="100%"
cellpadding="6" height="98">
<tr>
<td width="100%" height="20" background="APER10.JPG" bgcolor="#F7F7F7"><table border="0" cellpadding="0"
cellspacing="0" width="100%">
<tr>
<td width="61%" height="13"><p class="9"> </td>
<td width="39%"><p align="right" class="9">[GOPREV] [GOINDEX] [GONEXT]</td>
</tr>
</table></td>
</tr>
<tr bgcolor="#DFE0D1">
<td width="100%" height="21"> <div align="center" class="title_[PAGETYPE]">[PART1]</div></td>
</tr>
<tr bgcolor="#E7F4FE">
<td width="100%" height="51"><table width="100%" height="261" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="230" valign="top"><DIV class="content" align="left">
<p><br>
[PART0]<br>
<br>
</p>
</DIV></td>
</tr>
<tr>
<td height="25" align="center"><img src="N14.GIF" width="587" height="32"></td>
</tr>
</table></td>
</tr>
<tr>
<td width="100%" height="20" background="images/PAPER10.JPG" bgcolor="#F7F7F7"><table border="0" cellpadding="0"
cellspacing="0" width="100%">
<tr>
<td width="61%"><p class="9"><font color="#CCCCCC"></font></font></td>
<td width="39%"><p align="right" class="9">[GOPREV] [GOINDEX] [GONEXT]</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<a href="http://www.ruanjing.com?a=hb2" target="_blank"><font color="#DDDDDD" face="Arial, Helvetica, sans-serif" style="font-size:8pt;"></font> </a>
</center>
</div>
</body>
</html>
欢迎光临 (http://zasq.net/) |
Powered by Discuz! X3.2 |