Jump to content
GreenSock

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

Missing plugin error

Go to solution Solved by KeviinCosmos,

Recommended Posts

I've installed GSAP to my WordPress site and from what I can see everything is in the correct order, so I have no idea why the ScrollTrigger plugin won't work.

I'm trying to use the example from codepen on my page.

 

Here's my setup

1. Error code in dev tools:
https://go.seee.link/JEJvQvU8Ag.png

 

2. Scripts in Scripts Organizer:
https://go.seee.link/msedge_jCDsAgNXP4.png

 

3. My code in Scripts Organizer: 
https://go.seee.link/msedge_p1O511O7G1.png

 

4. Order of output in browser:
https://go.seee.link/chrome_K0KPbBJSiy.png
 

Thanks in advance

See the Pen GRWobyX?editors=1010 by GreenSock (@GreenSock) on CodePen

Link to comment
Share on other sites

Hm, the minimal demo seems to be working fine. Unfortunately screen shots of code aren't adequate. We can't see any of the context or poke around. Please provide a link to where we can see the error happening in our own browser. 

 

That error definitely means that ScrollTrigger wasn't loaded or registered at the time your code executed. 

Link to comment
Share on other sites

What do you need?`I can't see more if I share the url. I've inspected the site and you can see my code is shown in the footer before the custom code/call.
Can I share the url privately, so it won't get spammed?

Link to comment
Share on other sites

  • Solution

I did found out my self.
scrollTrigger was an old version, even though I picked the newest from cdnjs.. It was version1.x.x..

 

Where do I find the newest CDN urls?

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