dave@friks.nl Posted February 24, 2022 Share Posted February 24, 2022 Dear people, I can't figure out why my simple slider works only for the second time (the first time it slides half, to the center). And there is some extra space on the left (see the red borders at the first slide). Maybe there a some small things i'm doing wrong? Thanks already! See the Pen WNXKOJe by Knerp (@Knerp) on CodePen Link to comment Share on other sites More sharing options...
OSUblake Posted February 24, 2022 Share Posted February 24, 2022 Hi Dave, Have you checked out our helper function for doing that? https://greensock.com/docs/v3/HelperFunctions#loop See the Pen PojYwPp by GreenSock (@GreenSock) on CodePen Link to comment Share on other sites More sharing options...
dave@friks.nl Posted March 3, 2022 Author Share Posted March 3, 2022 Yes thanks! it's working right now great: See the Pen zYPyJLB by Knerp (@Knerp) on CodePen Is it possible to give the text items a different move speed to get some parralax? Anf how can i get control over the slides to animate in the text over the images? Thanks again Link to comment Share on other sites More sharing options...
OSUblake Posted March 3, 2022 Share Posted March 3, 2022 That would most likely require modifying that helper function to some degree. I'm wondering if some of the demos at the bottom of this thread would be better suited for what you're trying to do. And a nice thread about parallax, although it doesn't loop. 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