Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

pieterm

BusinessGreen
  • Posts

    6
  • Joined

  • Last visited

About pieterm

pieterm's Achievements

  1. Hi! I've got a row with elements which can be dragged inside dropzones. All is working well but I can't get the dragged objects to fit exactly within the dropzone. Can someone point me in the right direction? Thanks in advance, Pieter
  2. Thanks for your quick reply! I will look around for other solutions.
  3. Hi! I would like to create the following effect with GSAP. Is this effect possible with GSAP and how can it be achieved? It would be much appreciated if someone can point me in the right direction. Thanks, Pieter
  4. pieterm

    Time

    Ah, nice. Thanks!
  5. pieterm

    Time

    const openMenu = gsap.timeline(); openMenu.to("#main-nav", { duration: .6, y:'100%', ease: Power4.easeOut, }); openMenu.pause(); $('.open-menu').on("click", function(){ $(this).toggleClass('active'); if($(this).hasClass('active')){ openMenu.play().timeScale(1); } else { openMenu.reverse().timeScale(2); } }); Hi guys, I'm trying to increase the speed for the timeline reverse. When I try it like shown in my code the reverse does nothing. When I remove the timeScale for the reverse it does reverse but in the same speed as the initial playing speed. Can anyone point me in the right direction? Thanks in advance, Pieter
×