Jump to content
Search Community

GSDevtools not Happening?

Perch 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

(* I've purchased Greensock Shockingly Greem membership $99.00/yr.)

 

Full explanation of issue is in the pen file. 

Have tried literally EVERYTHING it seems to get this thing to work? Two hrs into at this point.

(Is there a specific "fully contained code and path examples,)  file that would get this working so that one could download it and save a lot of angst?

 

Thanks for your help!

 

See the Pen XBXErv by RobGuitman (@RobGuitman) on CodePen

Link to comment
Share on other sites

Hi and welcome to the GreenSock forums and Club GreenSock!

 

Sorry to hear you are having troubles. 

 

To load GSDevTools there are 2 steps.

 

1: Make sure you are loading GSDevTools into your page, most commonly via a script tag.

 

In your example it would be like
 

 <script src='http://cdnjs.cloudflare.com/ajax/libs/gsap/2.0.1/TweenMax.min.js'></script>
<script  src="js/GSDevTools.js"></script>
<script  src="js/index.js"></script>

 

It doesn't matter if you load TweenMax from the CDN or locally

 

2: Activate GSDevTools using

 

GSDevTools.create();

 

 

I've updated the demo you created to load and activate GSDevTools

 

See the Pen KBVoJK?editors=0010 by GreenSock (@GreenSock) on CodePen

 

CodePen has a feature that lets you export Pens as zips so you can download and run them locally.

 

I will PM you a version that works locally in just a minute.

 

 

 

 

 

 

 

 

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