Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript tweenmax animation controlled by scrolling

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #173304
    rwchampin
    Participant

    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?

    http://codepen.io/rwchampin/pen/ipBLo

Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.