织梦模版不轮换大家看看这个代码有什么问题
dedecms吧
全部回复
仅看楼主
level 1
<!--产品展示-->
<div id="productCenter" class="cleanFlex">
<div class="title line">
<span><a ></a></span>
<h2>教师社区</h2>
</div>
<div>
<!--{dede:arclist row='8' titlelen='24' typeid='5' orderby='pubdate' idlist='' col='' type='image.commend.' imgwidth='149' imgheight='113'}
<li>[field:imglink/]</li>
{/dede:arclist}-->
<DIV class=rm_etlist style="float:left; padding-left:0px;"><!--滚动开始-->
<DIV id=link_pic style="OVERFLOW: hidden; WIDTH: 670px; HEIGHT: 235px;float:left; padding-left:0px;">
<DIV id=link_pic1 style="OVERFLOW: hidden;float:left; padding-left:0px;">
<UL>
{dede:arclist row='16' titlelen='24' orderby='pubdate' typeid='5' idlist='' col='4' type='image.' imgwidth='149' imgheight='108'}
<li>[field:imglink/]</li>
{/dede:arclist}
</UL></DIV>
<DIV id=link_pic2 style="float:left; padding-left:0px;"></DIV></DIV>
<SCRIPT>
var speed=45
link_pic2.innerHTML=link_pic1.innerHTML
function Marquee2(){
if(link_pic2.offsetTop-link_pic.scrollTop<=0)
link_pic.scrollTop-=link_pic1.offsetHeight
else{
link_pic.scrollTop++
}
}
var MyMar2=setInterval(Marquee2,speed)
link_pic.onmouseover=function() {clearInterval(MyMar2)}
link_pic.onmouseout=function() {MyMar2=setInterval(Marquee2,speed)}
</SCRIPT>
<!--滚动结束--></DIV>
2015年04月29日 23点04分 1
level 1
2015年,让我们定居北京,与公园做邻居,
泰禾·拾景园,10万抵20万优惠进行中!
预约看房送全车电路保养!
预约热线:400-0111-352
买房QQ群:333097223
了解详情请点击:http://fang.siyongad.com/bj/sjy/index.html
2015年04月29日 23点04分 2
1