站点公告列表。
该标签为通用标签,在一个页面只可出现一次。
| 参数 | 描述 |
| x | 提取公告的数目。可为任意大小的正数。 |
| y | 显示样式。为0则横式显示,为1则竖式显示 |
调用范例 - 竖式显示 - 静态列表:
<table> <tr> <td height="200" width="200">{$SitePlacard(10,1)$}</td> </tr> </table>
调用范例 - 横式显示 - 走马灯从右至左:
<table> <tr> <td width="200"><marquee style="word-break:break-all;LEFT: 2px; MARGIN-LEFT: 2px; WIDTH: 100%; TOP: 2px; HEIGHT: 20px; TEXT-ALIGN: center"
onMouseOver=this.stop() onMouseOut=this.start() scrollamount=2 scrolldelay=50 direction=left behavior=loop>{$SitePlacard(5,0)$}</marquee></td> </tr> </table>
调用范例 - 竖式显示 - 走马灯从下至上:
<table> <tr> <td height="200" width="200"><marquee style="word-break:break-all;LEFT: 2px; MARGIN-LEFT: 2px; WIDTH: 100%; TOP: 2px; HEIGHT: 200px; TEXT-ALIGN: center"
onMouseOver=this.stop() onMouseOut=this.start() scrollamount=2 scrolldelay=20 direction=up behavior=loop>{$SitePlacard(10,1)$}</marquee></td> </tr> </table>