Jump to content
Search Community

Scrolltrigger - Show one pinned section per scroll/swipe Interaction

sarahholden test
Moderator Tag

Recommended Posts

Is it possible to tie the length a pinned section is in place to the length of a user's mouse / touch action? I'm looking to display a new pin each time the user scrolls down once with their mouse or swipes once on their phone.

 

I've implemented a somewhat similar technique to this Codepen demo from @akapowl with content changing on scroll and it's working well. However I have images displayed on one side and if the user scrolls down too quickly the images fly past, but if I increase the total duration the pinned sections feel like they last much too long. 

 

Thanks in advance!

 

See the Pen 4a8ca13036ba9f2f80919f671da1fed0 by akapowl (@akapowl) 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...