發(fā)布文章的時(shí)候,復(fù)選框里有個(gè)“滾動(dòng)”可首頁并沒有滾動(dòng)模塊啊,css里也沒看見啊,請問如何設(shè)置呢?
下面是官方的css,首頁代碼的具體參數(shù)怎么設(shè)置呢??
/*-------------------------首頁:中側(cè):滾動(dòng)新聞*/
.topline .scrollnews{
width:358px;
height:23px;
overflow:hidden;
background:#EBF3FA;
line-height:23px;
border:1px solid #8BD;
}
.topline .scrollnews ul{
float:left;
}
.topline .scrollnews ul li a{
width:350px;
text-decoration:none;
text-indent:10px;
display:block;
overflow:hidden;
}
找到index.htm,找到圖文資訊代碼:
<dl class="tbox">
<dt><strong>圖文資訊</strong></dt>
<dd>
<ul class="e1">{dede:arclist row=15 orderby=pubdate type='image.' imgwidth='124' imgheight='94'}
<li><a href="[field:arcurl/]">[field:image/]<span class="title">[field:title/]</span></a></li>
{/dede:arclist}
</ul>
</dd>
</dl>
以上代碼row為顯示的圖文資訊條數(shù),每行5個(gè),建議設(shè)置為5的倍數(shù)。修改以上代碼如下
<dl class="tbox">
<dt><strong>圖文資訊</strong></dt>
<dd>
<ul class="e1"><marquee scrolldelay=0 onMouseOver="this.stop()" onMouseOut="this.start()" style='WIDTH: 710px; HEIGHT: 104px; ' behavior="alternate" scrollamount='3' direction='left'>{dede:arclist
row=10 type='image.' imgwidth='124' imgheight='94'}
<li><a href="[field:arcurl/]">[field:image/]<span class="title">[field:title/]</span></a></li>
{/dede:arclist}</marquee>
</ul>
</dd>
</dl>