Jump to content
Search Community

rymatt94

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by rymatt94

  1. Hi all,

     

    I'm trying to recreate a feature of

    See the Pen rxFwL by GreenSock (@GreenSock) on CodePen

    .

     

    However, my timeline is configured differently, so I'm having difficulty translating the js over. Basically, I want my slider to change from white to red as the timeline slider progresses. Here's my current setup: https://jsfiddle.net/rymatt94/w9tf2bzw/40/

     

    Apologies if this is overly simplistic - I'm new to javascript/jQuery and GSAP!

     

    Thanks in advance.

  2. Hi all,

     

    I'm very new to both javascript/jQuery and GSAP. I'm trying to make a timeline slider and want to use the .addPause feature to make the slider stop at certain points along the way. This works until the user interacts with the slider manually. After that, the .addPause functions are seemingly ignored and the timeline just goes along without pausing. How do I always ensure the .addPause function is respected upon pressing the play button?

     

    And if there are any optimizations you see that are obvious, please feel free to let me know! :)

     

    jsfiddle

×
×
  • Create New...