Jump to content
Search Community

justcasper

Members
  • Posts

    8
  • Joined

  • Last visited

justcasper's Achievements

  1. Thank you! Is there a way to make it slower?
  2. Hi, thanks for your reply. So i have to avoid "TweenLite..." ? Thanks for the advice. Your changed code still does not call the onDrag otherwise the "salmon" text would stick to the right.
  3. Hi, i try to trigger a drag from another function. when i use TweenLite.to(".nav-main", 0.3, {x:-2000}); it doesn't trigger my onDrag. Is there another way to simulate the drag? https://jsfiddle.net/o9yt0bv1/2/
  4. i could solve it on my own. This is the solution: https://jsfiddle.net/vebuxzjc/1/
  5. hello, i need to create an animation where every child (il) of an ul have get to the left when the user drags the ul. after it reached left side it have to go up. For this i started like this: https://jsfiddle.net/1hxmf24u/4/ it works fine until the moment i the elements that sticks to left have to move again. When i implement that the distances between the il-elements crashes. can someone help me?
  6. Hi, how do i add a class without deleting the old one? This is what i did: https://jsfiddle.net/djpw1oq7/ regards
  7. Hello ZachSucier, thank you for your solution. I had to modify it a little bit but it helped me a lot. It's weird that greenSock doesn't recalculate new sizes. I have the same problem with my timeline but for it make sense why it was implemented like this. Have a nice day!
  8. Hi, i try to create a scrollbar with snaps. Everything works until is resize the window. How do i make gsap to recalculate the with of the container? This is what i got: https://jsfiddle.net/fxktyusw/2/
×
×
  • Create New...