DEDE织梦实现让文章标题滚动起来方法
- 时间:
- 浏览:0
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'