Indietech Posted December 11, 2020 Share Posted December 11, 2020 Hallo, everyone. I'm new here. i just learn gsap week ago i Follow this codepen and no problem at all. All i want is animation effect like this https://www.prevint.pt/en/ So, when i scroll fast it just move fast to the next slide one step. it would be great if you can help me to make a scroll pin on the bottom. Thanks See the Pen YzygYvM by GreenSock (@GreenSock) on CodePen Link to comment Share on other sites More sharing options...
akapowl Posted December 11, 2020 Share Posted December 11, 2020 Hey @Indietech - welcome to the forum. You could probably take the core-concept from this pen, using the scrollToPlugin for this instant-snappy movement, and change it to work in a horizontal scenario. See the Pen rNLOdbB by GreenSock (@GreenSock) on CodePen But be aware Quote ScrollTrigger is not built to scroll-jack like what this approach does. The approach above is a hack and I don't really recommend using it. If you really need this sort of functionality then you'll need to either build the functionality yourself or use an existing tool like fullpage.js. But even then, depending on your needs, there are likely to be issues because web browsers are simply not built to work in this sort of way. The demos above (and in the threads linked to) are experiments as to what is possible. by @ZachSaucier in this following thread (and others on that same topic) 3 Link to comment Share on other sites More sharing options...
Indietech Posted December 12, 2020 Author Share Posted December 12, 2020 Ok thanks for your reply. i also have experience using fullpage js. its good plugin but has limitation and expensive. lol i try to keep looking other option. anyways, Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now