dedecms织梦程序如何设置首页滚动显示?
发布时间:02/19 来源:未知 浏览:
关键词:
发布文章的时候,复选框里有个“滚动”可首页并没有滚动模块啊,css里也没看见啊,请问如何设置呢?
下面是官方的css,首页代码的具体参数怎么设置呢??
01 |
/*-------------------------首页:中侧:滚动新闻*/ |
10 |
.topline .scrollnews ul{ |
13 |
.topline .scrollnews ul li a{ |
|
找到index.htm,找到图文资讯代码:
03 |
<dt><strong>图文资讯</strong></dt> |
07 |
<ul class= "e1" >{dede:arclist row=15 orderby=pubdate type = 'image.' imgwidth= '124' imgheight= '94' } |
09 |
<li><a href= "[field:arcurl/]" >[field:image/]<span class= "title" >[field:title/]</span></a></li> |
|
以上代码row为显示的图文资讯条数,每行5个,建议设置为5的倍数。修改以上代码如下
03 |
<dt><strong>图文资讯</strong></dt> |
07 |
<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 |
09 |
row=10 type = 'image.' imgwidth= '124' imgheight= '94' } |
11 |
<li><a href= "[field:arcurl/]" >[field:image/]<span class= "title" >[field:title/]</span></a></li> |
13 |
{/dede:arclist}</marquee> |
|
|
打赏
打赏
扫码打赏,你说多少就多少
打开支付宝扫一扫,即可进行扫码打赏哦
百分百源码网 建议打赏1~10元,土豪随意,感谢您的阅读!