Jump to content

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

GSAP and Doubleclick

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 am trying to setup doubleclick with GSAP. However, when I add the enablers and etc, it causes my ad to freeze. I created a codepen. Please let me know if you see something obvious that I'm doing wrong.


Thank you! 

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

Link to comment
Share on other sites

From the errors in your demo it appears you aren't loading any scripts that define what an Enabler is.


I grabbed a js file from another post and loaded it into your demo and it appears to work




(check the js gear to see the files that are loaded externally)


This is the post i used as a reference: http://greensock.com/forums/topic/9465-doubleclick-gsap-and-polite-loaders/?hl=enabler

  • Like 1
Link to comment
Share on other sites

Hiya - thanks for the answer but your codepen shows at blank - I do have that .js <script> link in my head, however I'd like to see how you got the demo working, as it's still showing as frozen to me. Thanks!

Link to comment
Share on other sites

Its blank because you have no images in it;) I do see the broken image icons moving around though. This is what I see:



Looks like the animation is running and there are no errors, right?




Link to comment
Share on other sites

Sorry I meant the codepen link you provided produces a 404 page not found, well specifically the following text: "There is nothing here, Monsieur. My Giant magnifying glass never lies" 


I do realize the image links are blank. :) 

Link to comment
Share on other sites

strange, i just recorded it by clicking on that link... hold please ;)

Link to comment
Share on other sites

Ok I see it now, and apologies if I'm being dense, but I don't see what you changed to get it to function. 

Link to comment
Share on other sites

Nevermind, it just wasn't working locally, once I hosted it it was fine. I think that's probably been the issue the whole time - apologies! 

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.