Jump to content
Search Community

Works locally, doesn't work uploaded to server

craigstand test
Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Thank you, good to know for the future. I put it on CodePen to show my code, in the final file when I upload to a server the file doesn't animate. Does my code indicate anything that I did wrong? I'm uploading an HTML file to the server, is that the wrong way to do it?

 

I went through all of the starter documents, I don't see where I went wrong.

Link to comment
Share on other sites

I see in your codepen that you dont have TweenMax loaded as a script.

 

In codepen you can add JS file links by clicking the gear icon in the JS panel and then a modal will flyout and then you can add TweenMax there.

 

You can see that joe_midi added TweenMax js file for you in the JS panel scripts .. click the gear icon to the words JS.

 

Make sure your loading TweenMax :)

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...