Jump to content
Search Community

Parallax With MagicScroll and TweenLiteMax work Once and not on Scroll

Ahmed Elabbasy test
Moderator Tag

Recommended Posts

Unfortunately ScrollMagic isn't a GreenSock product, so we don't support it around here. You might want to check out the recently released ScrollTrigger plugin for GSAP which does pretty much everything ScrollMagic does and more.

It looks like you had some typos in your code and you might not be loading the proper ScrollMagic files, but I'm not sure. 


Happy tweening!

  • Like 2
Link to comment
Share on other sites

I think the part that you're talking about is related to the scrollToElement function? It looks like it's trying to scroll the element into view but it overcompensates every time that you click it. 


You still have quite a bit of code there. I recommend stripping all irrelevant parts of it so that you can focus on solely the issue at hand.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...