Jump to content
Search Community

Codepen examples with Club GreenSock account

Marco Marinelli 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

Hi I'd like to download and edit the file on my PC this codepen example. I have a ShockinglyGreen account so my idea was to export from codepen as a zip, open the file and change with the GSAP files required that are TwinMax.min.js and SplitText.min.js. But I'm loosing the TimeScale slider. What are the steps I have to follow to play around the codepen examples on my pc? Thanks, K.

See the Pen mMBPZm by anon (@anon) on CodePen

Link to comment
Share on other sites

Works fine for me. I put TweenMax and SplitText in the js folder, so the scripts at the bottom of the index.html looks like this.

<script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src='js/TweenMax.js'></script>
<script src='http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js'></script>
<script src='js/SplitText.js'></script>
<script src='http://s3-us-west-2.amazonaws.com/s.cdpn.io/16327/jquery.ui.touch-punch.js'></script>

<script src="js/index.js"></script>

 

  • Like 3
Link to comment
Share on other sites

Thank you, don't know why, maybe there was a cache problem anyway I put this code:

 

<script src="js/jquery.min.js"></script>
<script src="js/TweenMax.js"></script>
<script src="js/jquery-ui.min.js"></script>
<script src="js/SplitText.js"></script>
<script src="js/jquery.ui.touch-punch.js"></script>

<script src="js/index.js"></script>

 

To remove the CDN links and it works fine. Thanks again, K.

  • Like 2
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...