由于没时间和电脑,可能这个是最后一个小东西了,怀念..............
方法:
在viewthread.htm
查找:
- <!--{if $post['signature']}--><br></td></tr><tr>
- <td align="left" valign="bottom"><img src="images/common/sigline.gif"><br>
- $post[signature]<!--{/if}-->
复制代码
替换为:
- <script language=javascript>
- var signid = "";
- function show_sign(signid,show_method){
- if (signid != ""){
- if (show_method==1){
- document.getElementById(signid).style.display = "";
- document.getElementById("post"+signid).innerHTML="<img src='images/collapsed_no.gif' >" ;
- }
- else{
- document.getElementById(signid).style.display = "none";
- document.getElementById("post"+signid).innerHTML="<img src='images/collapsed_yes.gif'> ";
- }
- }
- }
- </script>
- <!--{if $post['signature']}-->
- </td></tr><tr>
- <td align="left" valign="bottom" ><span id=postsign_$post[postcount]><img src="images/collapsed_yes.gif" onclick="show_sign('sign_$post[postcount]',1)" onmouseover="show_sign('sign_$post[postcount]',1)" > </span> <img src="images/common/sigline.gif" onclick="show_sign('sign_$post[postcount]',1)" ondblclick="show_sign('sign_$post[postcount]',0)" onmouseover="this.style.cursor='hand';" alt="想看我的签名,请单击! 不想看就双击!" ><br>
- <table id="sign_$post[postcount]" cellspacing=0 cellpadding=0 border=0 style="display: none">
- <tr><td >$post[signature] </td></tr></table>
- <!--{else}-->
- </td></tr><tr>
- <td align="left" valign="bottom"><span id=postsign_$post[postcount]><img src="images/collapsed_yes.gif" onclick="show_sign('sign_$post[postcount]',1)" > </span> <img src="images/common/sigline.gif" onclick="show_sign('sign_$post[postcount]',1)" ondblclick="show_sign('sign_$post[postcount]',0)" onmouseover="this.style.cursor='hand';" alt="想看我的签名,请单击! 不想看就双击!" ><br>
- <table id="sign_$post[postcount]" cellspacing=0 cellpadding=0 border=0 style="display:none ">
- <tr><td>未使用签名的签名
- </td></tr></table>
- <!--{/if}-->
复制代码
把图片传到images目录下
完毕.
|