Jump to content

piyush walia

  • Posts

  • Joined

  • Last visited

Recent Profile Visitors

1,262 profile views

piyush walia's Achievements



  1. 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.
  2. 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
  3. 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?
  4. Thanks a Lot Carl. I was struggling with the same question and it solved my problem.