Jeanlat Posted July 28, 2021 Posted July 28, 2021 I'm trying to animate new Ajax content with the same property that original one. I've made this simple codePen for a better understanding. When box is clicked, it's animated by timeline. When button is clicked, new box is loaded. But I've probably made something wrong, because I don't understand why it triggers animation and why, on click on one of boxes, they are not moving together. See the Pen PomQrze by Jeanlat (@Jeanlat) on CodePen.
OSUblake Posted July 28, 2021 Posted July 28, 2021 How about this? See the Pen poPLJdK by GreenSock (@GreenSock) on CodePen. Also, you are using the old syntax. Please see the Migration Guide. 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