JQ 列表滚动

JQ 列表滚动

代码
function scroll_news(){
$(function(){
      $(
'#dvmq li').eq(0).fadeOut('slow',function(){        
         
//   alert($(this).clone().html());
         
//克隆:不用克隆的话,remove()就没了。
            $(this).clone().appendTo($(this).parent()).fadeIn('slow');
            $(
this).remove();
        });
     });
}
setInterval(
'scroll_news()',1000);
原文地址:https://www.cnblogs.com/fanxianhua/p/1822359.html