Jump to content
Search Community

Issue on javascript selector to GSAP

hadijedank 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... new guy come to the pool.

 

I'm Hadi. Followed tutorial from Petr/ihatetomatoes, and then the issues is come up.

First, all the header and navbar is working with tweenlite, but after I put the container which are the main-page and footer. It's not working anymore. What's wrong here?

And about the code pen, I don't know why the animation won't moving there. But still the code is working fine on my file that I mentioned previously.

I'm sorry, lil shy to come with noob question. But I don't have mentor to ask directly. Thanks for the help.

Regards,
Hadi

 

EDIT: omg, now in codepen all the animation is working well, but still in my file just header and its nav which working. But for footer and main-page still not. So, what is the problem actually?

 

 

See the Pen xQzVoX by hadijedank (@hadijedank) on CodePen

Link to comment
Share on other sites

Nevermind guys. Just stupid html order. ☠️
 

I put all the "script tags" between header and main-page LOL.
 

5 minutes ago, Sahil said:

When something doesn't work check developer console by hitting F12 to see if you are getting any errors. Your demo was missing jQuery, you can add that from codepen settings.

 

Feel free to post GSAP related questions.

 

Thanks @Sahil for the reply & help, such an extreme fast & nice community. Will coming here again later. Thanks.

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