Uncaught ReferenceError: ScrollMagic is not defined #619

OLGANJA opened this Issue Nov 16, 2016 · 0 comments


None yet

1 participant

OLGANJA commented Nov 16, 2016

How do you use ScrollMagic? There is a error in HTML - dont know how to set right!
Uncaught ReferenceError: ScrollMagic is not defined

This is HTML:

<script> // init controller var controller = new ScrollMagic.Controller(); </script>

In this place of code there are error.

And these are scripts in the document before tag

<script src="js/jquery-3.1.1.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.16.0/TweenMax.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/ScrollMagic/2.0.5/ScrollMagic.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/ScrollMagic/2.0.5/plugins/debug.addIndicators.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/ScrollMagic/2.0.3/plugins/animation.gsap.min.js"></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment