Share Posted December 24, 2015 So I have a pen here, and it's all working just fine, but my corresponding code on my local machine does nothing. I can see that the script is loading, but no animation is taking place. I'm not getting errors or anything, just nothing is happening, so I have no idea how to debug! Ideas? See the Pen gPwgQa by kathryncrawford (@kathryncrawford) on CodePen Link to comment Share on other sites More sharing options...
Share Posted December 24, 2015 I bet you are using an old version of TweenMax from before it had "cycle" Note that the CDN host has refused to update the "latest" directory moving forward, so that is stuck at 1.17.0. We recommend linking directly to a version, like 1.18.2. 1 Link to comment Share on other sites More sharing options...
Share Posted December 24, 2015 Hi kathryn.crawford , Jack already gave you the answer, but I was testing your pen locally and can confirm that was the problem. I was just too slow to answer first. Just change the link and you'll be all set: <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.18.2/TweenMax.min.js"></script> PS I was expecting Bill Murray and instead I saw Nicolas Cage. Are you switching celebrities for your CodePens? 1 Link to comment Share on other sites More sharing options...
Author Share Posted December 24, 2015 Thanks guys! It was loading 1.18.0 apparently. @PointC, you gotta switch it up sometimes, and besides, Cage images can be gifs! 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