Grow your CSS skills. Land your dream job.

tweenmax animation controlled by scrolling

  • # June 20, 2014 at 10:43 am

    ok…first thank you to all the people helping me out with this in my prev. posts. i love greensock i just need to fix this small issue….i have tweenmax animating the height of a div…which works fine…but i want the height to be scaled up on scroll….not a triggered animation that fires once….i want the user to be able to scroll it back up…..so i simply created a scrollTop() vairable and replaced the tweenmax height with this variable…the only issue is its not firing every time i scroll….help?

    # June 20, 2014 at 10:46 am

    i think this is like a requestAnimationframe thing but ive never messed with this….or maybe binding scroll….not sure

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".