DEDE织梦实现让文章标题滚动起来方法

2023/05/19 08:31    5G收录网    已浏览121次

DEDE织梦实现让文章标题滚动起来方法,增加下面代码即可实现:

<marquee behavior=scroll direction=up width=268 height=18 scrollamount=1 scrolldelay=60 onmouseover='this.stop()' onmouseout='this.start()'>
{dede:arclist typeid='1' row='8' orderby='pubdate'}<span class="red2">·</span><a href="[field:arcurl/]" target="_blank" class="pix12h1_line24">[field:title/]</a><br>{/dede:arclist}
</marquee>

width=宽度     height=高度   typeid='栏目的ID'