piyush walia
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by piyush walia
-
-
I am working on some sort of animation so I have prepared a demo which relates exactly to the task. I am inter-changing the classes after the first timeline completes and running another timeline when the user clicks the second time. The problem is when the second timeline is played, the tween adds the previous tween values to the element which I am tweening on the second click. If you look at the codepen example, when running second timeline i.e home_slide_2, the block_1 element is taking x value from the previous tween making animte both x and y values. Can anyone guide me on this that what I am doing wrong here.
See the Pen gzKPXX by piyushwalia (@piyushwalia) on CodePen
-
Thanks, @Carl for replying. The demo you shared above is what I expected but there is no feature of next and previous click.And thanks again for your help
-
I am trying to make an coverflow slider like used on the HomePage of this website http://www.onedayinmyworld.com/. For reference, I am sharing the codepen demo of my progress and there are a lot of things with which I am struggling. I want to add dragging feature to it with center element highlighted i.e active class added to the center div. Can anyone help in solving this problem?
See the Pen MQwNZK by piyushwalia (@piyushwalia) on CodePen
-
Thanks a Lot Carl. I was struggling with the same question and it solved my problem.
Interchanging classes doesn't clear previous tween values
in GSAP
Posted
Thanks @PointC for your help. It worked