Why should we put Stop() in front of animate?
善為
善為 2019-01-09 10:51:29
0
2
1115

Hello teacher, there is such a piece of code in the course code.

$('.block').stop().animate() animation effect. Why do you need to put stop() in front of animate()

善為
善為

reply all(1)
灭绝师太

The stop() method is added to stop the currently running animation; if you encounter this problem, it is recommended that you delete stop() first to see the effect. In fact, it is clear at a glance

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template