Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
Perch

GSDevtools not Happening?

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 post
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 post
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.

×