Roli
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by Roli
-
-
-
Hi Dipscom
Thank you for your help.
I was looking for something like the second option to optimize my code!
You've help me a lot!
Cheers
Roli
- 1
-
Hi All
I'm sorry if this is an easy solution but I couldn't find it and I'm totally new.
I have several elements with an infinite rotation but for some reason is working only the first one.
Here is my code:(function($) { var green = $('.green'), red = $('.red'), brown = $('.brown'), // tl = new TimelineLite(); tl = new TimelineLite(); tl .to(red, 3, { rotation: "+=360", repeat:-1, ease: Linear.easeNone, transformOrigin:"50% 50%" }) .to(green, 1, { rotation: "+=360", repeat:-1, ease: Linear.easeNone, transformOrigin:"50% 50%" }, "-=0.15") .from(brown, 3.5, { rotation: "+=360", repeat:-1, ease: Linear.easeNone, transformOrigin:"50% 50%" }, "-=0.15"); })(jQuery);
Thank you so much for your help!
Fade Image Sequence with Scroll Magic and GSAP
in GSAP
Posted
Thank you so much!!!
That help me!!