Friday, May 17, 2024
 Popular · Latest · Hot · Upcoming
99
rated 0 times [  104] [ 5]  / answers: 1 / hits: 21099  / 8 Years ago, thu, april 14, 2016, 12:00:00

/justincavery/pen/mPJadb - it is link on codepan



When I copy code from codepan and run it. I have got error: Uncaught ReferenceError: TweenLite is not defined.



Image is drawing once, but no animation...only if I press F5. Help me)


More From » html

 Answers
8

Go to Settings->Javascript->Add External JavaScript and see what is there.
Codepen has the dependency included, and you didnt include it in your own code.



<script src=http://cdnjs.cloudflare.com/ajax/libs/gsap/1.18.0/TweenMax.min.js></script>


Include this to your file.


[#62560] Tuesday, April 12, 2016, 8 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
everett

Total Points: 317
Total Questions: 112
Total Answers: 109

Location: Philippines
Member since Sat, Jul 11, 2020
4 Years ago
;