Jump to content
GreenSock

ochalmers

Multiple Scrollmagic instances

Moderator Tag

Recommended Posts

Hi all - I know there are some keen scrollmagic'ers on here so thought it ok to give it a post. The problem i'm having is setting up multiple instances of Scrollmagic using an each statement. In the attached pen they all seem to be following the one call instead of their individual states. Any pointers kind folks?
 

See the Pen zqgEdV by olichalmers (@olichalmers) on CodePen

Link to comment
Share on other sites

Just thought i'd post in here to say I found Petr Tichy had answered my exact question in one of his tutorials. 

 

Thanks Petr. I think what I had wrong was the triggerElement call.

  • Like 3
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.
×