Home >Web Front-end >JS Tutorial >jquery vertical announcement scrolling implementation code_jquery

jquery vertical announcement scrolling implementation code_jquery

WBOY
WBOYOriginal
2016-05-16 17:10:231025browse
复制代码 代码如下:





无标题文档






  • 1111

  • 22222

  • 3333

  • 44444

  • 5555

  • 66666


<script> <br>setInterval(function(){ <br>var newList=$('ul :first').clone(true); <br>$('ul').append(newList); <br>$('ul :first').remove(); <br>},2000); <br><br></script>


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn