好现在数据库已经上传
[URL]http://www.fxsky.net/xz/word.rar[/URL]
感谢楼上提供帮助
现在我们开始安装!
首先下载数据库并导入论坛数据库,表名不要更改!
[COLOR=red]1、打开announce.asp在698行的[/COLOR]Function DisplayDataPage(For1,For2,StepValue,GetData)
[COLOR=red]后面插入下面的代码:[/COLOR]
Dim MyValue, a,wordcount,wordC,wordsql
a=1
Randomize '初始化随机数生成器。
Do Until a>DEF_TopicContentMaxListNum
MyValue = Int((6703 * Rnd) + 1)' 产生随机数。
wordcount=wordcount&myvalue&","
a=a+1
Loop
wordcount=left(wordcount,len(wordcount)-1)
wordsql="select * from plue_word where id in ("&wordcount&")"
set wordC=Con.ExeCute(wordsql)
[COLOR=red]2、在1022行左右
End If
End If
%>
</td></tr>
后面插入下面的代码[/COLOR]<tr>
<td colspan="2" valign="bottom" >
<table width="100%" border="0" cellspacing="0" >
<tr>
<td height="1" bgcolor="<%=DEF_BBS_LightDarkColor%>"></td>
</tr>
<tr>
<td ><li> <font color="#006600" face="Arial, Helvetica, sans-serif">
<strong>
<%response.Write(wordc("word"))
%>
</strong></font> [<span class="fonts"><font color="#FF9900" face= "Kingsoft Phonetic Plain"><%=wordc("yinbiao")%></font></span>]<font face="Verdana, Arial, Helvetica, sans-serif">
<font color="#999999"><strong>|</strong></font> <font color="#000099">
<%response.Write(wordc("jieshi"))
wordc.movenext
%>
</font></font></li></td>
</tr>
</table>
</td>
</tr>
[COLOR=red]到现在已经可以得到结果了[/COLOR]
----------------------------[COLOR=blue]音标[/COLOR]
3、音标字体比较的麻烦我试着用了weft来做字体但是没有成功不过还是告诉大家
首先下载下面的rar文件把文件名改为KINGSOF1.eot文件注意后缀名是eot。(eot文件没法上传只有修改成rar)
[COLOR=red]并把KINGSOF1.eot文件拷贝到announce文件夹下面[/COLOR]
此主题相关文件 [url=../images/upload_mm/2003/09/10/165230.rar]165230.rar[/url]
打开board_popfun.asp文件在812行左右的 <link rel="stylesheet" type="text/css" href="<%=DEF_BBS_homeUrl%>inc/style<%=GBL_Board_BoardStyle%>.css">
后面加入下面的代码。
<STYLE TYPE="text/css">
<!--
@font-face {
font-family: Kingsoft Phonetic Plain;
font-style: normal;
font-weight: normal;
src: url(KINGSOF1.eot);
}
-->
.fonts {
font-family: "Kingsoft Phonetic Plain", "Kingsoft Phonetic(Truetype)";
color: #FF9900;
}
</STYLE>
大家可以到微软的http://www.microsoft.com/typography/web/embedding/weft3/default.htm?fname=%20&fsize=
下载weft软件试一试怎样做网站的字体。我没有成功只有在装了金山词霸音标字体的机器上能够正确的显示字体。
[COLOR=blue]希望哪位要是解决了这个音标的问题,在这里发表一下帮助大家嘛![/COLOR]
好全部完!