好用的竖直无缝滚动

http://www.aspxcs.net/index.php?m=content&c=index&a=show&catid=9&id=755

$('#dongtai').vTicker({
  speed: 800,//滚动速度
  pause: 2000,//暂停时间,就是滚动一条之后停留的时间,单位毫秒。
  animation: 'fade', //动画
  mousePause: true,//鼠标滑过暂停
  direction: 'up', //滚动的方向,默认为up向上,down则为向下滚动。
  height: 235,    //滚动内容的高度。
  showItems: 3 //显示的条数
});

 html代码如下:

注意:必须有position:relative

<dd id="dongtai" style="position:relative;height: 235px;overflow: hidden">
                <ul style="height: 235px;">
                       <li></li>
                      <li></li>
                </ul>
</dd>            

 

DEMO地址:haier2.vliang.com

官网:http://www.jugbit.com/jquery-vticker-vertical-news-ticker/

posted @ 2013-05-13 00:06  不负韶华668  阅读(179)  评论(0编辑  收藏  举报