Hi, great plugin!
Does it work on images also?
Yep, try giving the image an id and using its id in the plugin, it should work just fine!
Any element (div tags, image tags, anchor tags, etc…) should work as expected with the plugin, good luck!
Hi, nice script!
What happens if the div has a “background-image” URL css attribute ? It will also rotate?
Yeah, rotating the div also rotates its background image.
so how i can loop animation ?
i tried .everyTime but it did not works
For now you can try something like $(’#myDiv’).rotate(9999999); In the next version however, you’ll be able to do something like $(’#myDiv’).rotate(‘loop’); to infinitely loop an element. (Expect to see this new version within the next two days).
>$(’#myDiv’).rotate(‘loop’); to infinitely loop an element. (Expect to see this new version within the next two days).
Is it available?
Yes, it has been available for a month or so, simply enter ‘loop’ as a parameter instead of a degree and you should be able to infinitely loop an element. If you have any questions feel free to post them here or send me an email: firstname.lastname@example.org. Thanks
I am doing 360 rotation on mouseenter for a div and 0 deg on mouseout. Now when if I bring my mouse out of the div before it has finished 360 degree rotation, it will go to 0 degree and then rotate 360. Isn’t there a way to reset current animation?
This glitch has been fixed in the next version of RotationAnimation. Expect to see it in the next few days!
Nice job, glws!
Use, by you or one client, in a single end product which end users are not charged for. The total price includes the item price and a buyer fee.
Use, by you or one client, in a single end product which end users can be charged for. The total price includes the item price and a buyer fee.
View license details