Jump to content
Search Community

is it GSAP Throwprops/Draggable or Custom js?

retropunk test
Moderator Tag

Go to solution Solved by Carl,

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 there, I was looking at the source for this site

http://ddanga.com/#/projects

 

created by Jongmin Kim who did FFF

http://fff.cmiscm.com/#!/main

This still inspires me today!

 

Anyways, the drag code on http://ddanga.com/#/projects

I can't figure out if it's GSAP or if he created his own version.

 

The code is minified/uglified so I can't decipher the parts I am interested in. I'd love to peek at the actual source.

Do you have any techniques that allow you to see if ThrowProps/Draggable are being used?

 

Thanks everyone

- Patrick

 

 

Link to comment
Share on other sites

  • Solution

Hi Patrick,

 

All the GreenSock classes are usually globally accessible, which means you can just type their proper names in the console.

Take a look at this screenshot: http://prntscr.com/6bft0n

 

(the words in blue are what I typed)

 

You will see that Draggable and ThrowPropsPlugin are undefined, but TweenLite and CSSPlugin are present.

  • Like 4
Link to comment
Share on other sites

Anyways, the drag code on http://ddanga.com/#/projects

I can't figure out if it's GSAP or if he created his own version.

 

I looked at his site and was thinking, "I hope not", because I can't get the dragging to work in Chrome, and Opera tells me to use Chrome.

 

Anyways, here's a suggestion. Can you add the name of the file to the comment block in the header? This might be helpful for people who do not know how to use the console to inspect the window.

 

Something like...

/*!
 * FILE: TweenMax.js
 * VERSION: 1.15.1
 * DATE: 2015-01-20
 * ...
 **/
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...