mimoid-prog Posted January 16, 2021 Posted January 16, 2021 Hello. I have a div with some texts and I looped this div infinitely which is working fine. But my problem is with changing the direction of marquee. When I do tl.reverse() it makes the reverse but the loop ends when it hits the beginning. How can I make it infinite even after the direction change? I know there is many posts about this topic but I still can't make it done. See the Pen XWjoqOp by mimoid-prog (@mimoid-prog) on CodePen. 1
mikel Posted January 16, 2021 Posted January 16, 2021 Hey @mimoid-prog, Here is a slightly different setup and it works. See the Pen abmPjxz by mikeK (@mikeK) on CodePen. Happy tweening ... Mikel 2
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