您所在位置:主页 > DEDECMS织梦教学 >

华宇官网dedecms如何设置首页滚动显示?

华宇网站建设 DEDECMS织梦教学

  发布文章的时候,复选框里有个“滚动”可首页并没有滚动模块啊,css里也没看见啊,请问如何设置呢? 

  下面是官方的css,首页代码的具体参数怎么设置呢??

  /*-------------------------首页:中侧:滚动新闻*/ 

  .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="https://www.ynpxrz.com/[field:arcurl/]">[field:image/]<span class="title">[field:title/]</span></a></li>

  {/dede:arclist}

  </ul>

  </dd>

  </dl>

  以上代码row为显示的图文资讯条数,每行5个,建议设置为5的倍数。修改以上代码如下

  <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="https://www.ynpxrz.com/[field:arcurl/]">[field:image/]<span class="title">[field:title/]</span></a></li>

  {/dede:arclist}</marquee>

  </ul>

  </dd>

  </dl>

上一篇:dedecms安全配置说明

下一篇:华宇链接dedecms企业会员采集模型
相关文章
评论留言