Jquery for news Scrolling up and down is extremely concise (this article is required). jquery is required.
Example:
<Div class = "box"> <dl class = "textlist"> <dd> 11 Hello, welcome to the customer's house </dd> <dd> 22 hello, welcome to the customer's house </dd> <dd> 33. Hello, welcome to the customer's house </dd> <dd> 44. Hello, welcome to </dd> <dd> 55 Hello, welcome to </dd> </dl> </div> <script> $ (function () {function GoUp () {$ (". textlist "). animate ({top,-30}, 500, function () {$ (". textlist "detail .css ({top, 0}); $ (". textlist dd: first "). insertAfter (". textlist dd: last ")});} setInterval (GoUp, 1000)}) </script> </body>
The above news scroll up and down jquery is super concise (must read) is all the content shared by the small Editor to everyone, I hope to give you a reference, but also hope you can support a lot of help homes.