jQuery animate() - Uses Queue Functionality. I'd like to use this function to rotate then stop at a particular point or degree. When using set timeout you need to make sure you have a condition that will not call settimeout or else it will run forever. jQuery Animate Example – Flying Boomerang. This means that if you write multiple animate() calls after each other, jQuery creates an "internal" queue with these method calls. Right now the element just rotates without stopping. I really want it to animate/rotate and stop at a certain point or degree. That just rotates the image. So, if you are already using jQuery in web project then creating rotating animations is quite easy by including a simple JS file. Documentation. Change.css () to.animate () in order to animate the rotation with jQuery. Making statements based on opinion; back them up with references or personal experience. Asking for help, clarification, or responding to other answers. What happens if a domestic flight lands in a foreign country due to an emergency? jQuery Lint jQuery UI 1.8.9 Framework