[外掛] 跑馬燈add-on 程式修正
發表於 : 2005-10-23 21:23
<td class="row1" align="center" valign="middle" height="25"><marquee scrollamount="3" scrolldelay="75" width="100%" onmouseover="this.stop();" onmouseout="this.start();">{ANNOUNCEMENT}</marquee></td>
原本chsa發表的add-on 在index_body.tpl裡有小小的修正, 否則狀態列會出現網頁有錯誤
在最下面的td標籤很多都忘了加上"", 而且最後還以</th>結尾, 應改為\r
就沒錯誤訊息了
原本chsa發表的add-on 在index_body.tpl裡有小小的修正, 否則狀態列會出現網頁有錯誤
代碼: 選擇全部
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th colspan="2" class="thCornerL" height="25" nowrap="nowrap">站務公告</th>
</tr>
<td class="row1" align="center" valign="middle" height="25"><marquee scrollamount=3 scrolldelay=75 width="100%" onmouseover=this.stop();onmouseout=this.start();>{ANNOUNCEMENT}</marquee></th>
</table>代碼: 選擇全部
<td class="row1" align="center" valign="middle" height="25"><marquee scrollamount="3" scrolldelay="75" width="100%" onmouseover="this.stop();" onmouseout="this.start();">{ANNOUNCEMENT}</marquee></td>