jquery 수직 알림 스크롤 구현 code_jquery
jquery
스크롤
复代码码 代码如下:
<머리>
<스타일>
*{
패딩:0px;
여백:0px;
}
ul{
list-style:none;
}
li{
line-height:30px;
}
<본문>
- 1111
- 22222
- 3333
- 44444
- 5555
- 66666
<스크립트>
setInterval(function(){
var newList=$('ul :first').clone(true);
$('ul').append(newList);
$(' ul :first').remove()
},2000);