刚学帝国 发第一帖子 没话说 就这样 请指教 能用的请顶 =================================== 新建一个标签模板 <!--页面模板内容开始--> <table align="center" border="0" cellpadding="0" cellspacing="0" width="220" height="20" bgcolor="#E1F6FF"> <tr> <td width="100%" height="100%" align="center" style="font-size:12px;color:#35AEE3; font-weight:bold;">公告</td> <td> <!--利用marquee让列表滚动起来--> <marquee behavior="scroll" direction="left" loop="-1" width="190" onMouseOver="this.stop();" onMouseOut="this.start()" scrollamount="2" scrolldelay="20" scrolldelay="50" > [!--empirenews.listtemp--] <!--list.var1--> [!--empirenews.listtemp--] </marquee> </td> </tr> </table> <!--页面模板内容结束--> ================================================== 列表内容模板样式自己做吧我就不发了 这个简单 [!--title--] <!--公告标题--> [!--smalltext--] <!--公告内容简介--> [!--writer--] <!--公告发布者--> ================================================ 建立一个发公告的栏目 利用万能标签调用 [ecmsinfo]栏目ID/专题ID,显示条数,标题截取数,是否显示栏目名,操作类型,模板ID,只显示有标题图片[/ecmsinfo] ------------------------------------------------------------------------------------------- [ecmsinfo]15,5,20,0,0,11,0[/ecmsinfo] 绿字15=栏目ID 蓝字就是刚才新建标签模板的ID 这签的调用意思是 [万能调用到]ID为:15栏目里的,5条文章,标题显示20字节,不显示栏目名,0=各栏目最新,标签的模板ID是11,不只显示有标题图片[万能调用结束] ================================================= 全部结束 第一次发帖 请大家点评一下  再改一次 直接上效果
<table align="center" border="0" cellpadding="0" cellspacing="0" width="220" height="20" bgcolor="#E1F6FF"> <tr> <td width="100%" height="100%" align="center" style="font-size:12px;color:#35AEE3; font-weight:bold;">公告</td> <td> <marquee behavior="scroll" direction="left" loop="-1" width="190" onMouseOver="this.stop();" onMouseOut="this.start()" scrollamount="2" scrolldelay="20" scrolldelay="50" > [!--empirenews.listtemp--] <!--list.var1--> [!--empirenews.listtemp--] </marquee> </td> </tr> </table>
上传以下图片:

|