0

Is there a way to use ScrollMagic when jQuery is loaded from the bottom of the page? It works if I put jQuery in the but not if I don't. So far the site has been working well with all the scripts loading at the bottom and I don't want to change that, just for ScrollMagic.

Moving inline SM scripts into linked .js files doesn't seem to help.

Hoby
  • 891
  • 6
  • 3

1 Answers1

0

You can do it from the bottom, first load jquery and then ScrollMagic. here is a ScrollMagic wiki link that might help.

Did you try the new ScrollMagic 2.0? there is no jquery dependency anymore, as well as gsap.

fabijaehn
  • 1
  • 2