Jump to content
Search Community

Sticky photos realted to simple text in column

pysilla test
Moderator Tag

Recommended Posts

Hi ! I am using gsap very occasionally for simple things and I sometimes have this kind of problems I can not pass through.


Every section in left column has corresponding div with img. Everything is working fine until I go back again (after I scrolled to very bottom). Now I want to reverse action (that's why I put "reverse" in toggleAction) but when i pass "end" marker my img changes. It's not behaviour I want - I would like it to change when it meets "start" or "end" (second one) to keep releation between left col and right.

See the Pen Yzxgqao by Pysilla (@Pysilla) on CodePen

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...