DEDECMS网站首页滚动使用选定栏目文章标题
发布时间:2021-12-14 00:39:42 所属栏目:经验 来源:互联网
导读:实现DEDECMS模板首页滚动调用栏目文章标题的标签代码如下: marquee behavior=scroll direction=up width=268 height=215 scrollamount=1 scrolldelay=60 onmouseover=this.stop() onmouseout=this.start() {dede:arclist typeid=4 row=8 orderby=pubdate}span
实现DEDECMS模板首页滚动调用栏目文章标题的标签代码如下: <marquee behavior=scroll direction=up width=268 height=215 scrollamount=1 scrolldelay=60 onmouseover='this.stop()' onmouseout='this.start()'> {dede:arclist typeid='4' row='8' orderby='pubdate'}<span class="red2">·</span><a href="[field:arcurl/]" target="_blank" class="pix12h1_line24">[field:title/]</a><br>{/dede:arclist} //开源软件:Cuoxin.com </marquee> width,height 表示限定的宽度和高度,typeid='4'是调用的栏目ID号,可以更换成需要调用的栏目ID就可以了. (编辑:晋中站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |