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);

 

 

posted on 2010-09-09 15:13  fxh嘟嘟  阅读(413)  评论(0编辑  收藏  举报