Novice
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by Novice
-
-
I reworked the last Sahil's codes – it works in pure JavaScript. I have a problem with jQuery code currently:
$('.slider-controls div').click(function(){ TweenMax.killDelayedCallsTo(nextSlide); TweenMax.killDelayedCallsTo(nextSlideDescription); nextSlide($(this).index()); nextSlideDescription($(this).index()); });
-
5 hours ago, Sahil said:
Whoever wrote that original demo did great job of keeping things simple, I struggled a lot doing so. Following is the demo, you can add few more conditions so clicking on current slide won't animate it.
Thanks for this. Sahil, do you know how I can add class "active" to slider-controls when changing the slider?
-
Timeline animations for multiple divs with the same class
in GSAP
Posted
I test different solutions , but I have a question – I'd like to animate only element with class active. Currently the first element animates third element, why? I learn JavaScript, but still a lot of work ahead of me
See the Pen LQPWGB by anon (@anon) on CodePen