How can I loop an animation continuously in jQuery?

前端 未结 9 1236
长情又很酷
长情又很酷 2020-12-01 14:52

I need to know how to infinitely loop this animation. It is a text scroll animation and I need it to repeat after it\'s finished.

Here is the jQuery:



        
9条回答
  •  北荒
    北荒 (楼主)
    2020-12-01 15:17

    Use setInterval. This way you can repeat a function infinitely after a certain interval, such as every second.

提交回复
热议问题