发言框美化forDZ6.0
<P></P><P></P>
<P>1 找到viewthread.htm 文件</P>
<P>找到<BR><div id=\"postmessage_$post\" class=\"t_msgfont\">$post</div></P>
<P>替换成</P>
<P> <table cellspacing=0 cellpadding=0 border=0 ><BR> <tr ><BR> <td width=14><img height=8 src=images/plus/top_l.gif width=14/></td><BR> <td width:=auto background=images/plus/top_c.gif></td><BR> <td width=16><img height=8 src=images/plus/top_r.gif width=16/></td><BR> </tr><BR> <tr><BR> <td valign=top width=14 background=images/plus/center_l.gif></td><BR> <td bgColor=#fffff1> <div id=\"postmessage_$post\" class=\"t_msgfont\">$post</div> </td><BR> <td valign=top width=16 background=images/plus/center_r.gif></td><BR> </tr><BR> <tr><BR> <td vAlign=top width=14><img height=42 src=images/plus/foot_l1.gif width=14/></td><BR> <td background=images/plus/foot_c.gif><img height=42 src=images/plus/foot_l3.gif width=36/></td><BR> <td align=right width=16><img height=42 src=images/plus/foot_r.gif width=16/></td><BR> </tr><BR> </table><BR><SCRIPT language=\"JavaScript\"><BR><!--<BR>today=new Date();<BR>jran=today.getTime();<BR>function rnd() {<BR> ia=9301;<BR> ic=49297;<BR> im=233280;<BR> jran = (jran*ia+ic) % im;<BR> return jran/(im*1.0);<BR>};<BR>function rand(number) {<BR> return Math.ceil(rnd()*number);<BR>};<BR>document.write(\"<div>\");<BR>for(i=1;i<=1;i++) {<BR> myNum=(rand(10)); //改成你要随机显示的图片数;</P>
<P> if(myNum == 1) document.write(\"<img src=\'images/plus/face1.gif\'>\"); </P>
<P>if(myNum == 2) document.write(\"<img src=\'images/plus/face2.gif\'>\"); //图片路径,可用http://</P>
<P>if(myNum == 3) document.write(\"<img src=\'images/plus/face3.gif\'>\"); </P>
<P>if(myNum == 4) document.write(\"<img src=\'images/plus/face4.gif\'>\"); </P>
<P>if(myNum == 5) document.write(\"<img src=\'images/plus/face5.gif\'>\"); </P>
<P>if(myNum == 6) document.write(\"<img src=\'images/plus/face6.gif\'>\"); </P>
<P>if(myNum == 7) document.write(\"<img src=\'images/plus/face7.gif\'>\"); </P>
<P>if(myNum == 8) document.write(\"<img src=\'images/plus/face8.gif\'>\"); </P>
<P>if(myNum == 9) document.write(\"<img src=\'images/plus/face9.gif\'>\"); </P>
<P>if(myNum == 10) document.write(\"<img src=\'images/plus/face10.gif\'>\"); </P>
<P> else {<BR>document.write();<BR>}<BR>};<BR>document.write(\" $post说:</div>\");<BR>//--><BR></SCRIPT> <BR><br></P>
<P></P>
<P>2 CSS 文件找到</P>
<P>.mainbox tbody th, .mainbox tbody td { border-top: 1px solid {BGBORDER}; padding: 5px; }</P>
<P>删除</P>
<P><BR>3 把images覆盖你的论坛 </P>
<P>4 到前台看效果吧<BR></P>
[ 本帖最后由 蓝雨 于 2008-3-6 11:42 编辑 ]
页:
[1]