freelancer13
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by freelancer13
-
-
um……i'm rookie trying to use TweenMax.min.js……
i download it form GIT and put it in my test project and pretty sure all files in the right directory,
html code here:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Hello TweenMax</title> <link rel="stylesheet" href="css/Xu.css"> </head> <body> <script src="/js/jquery-2.1.4.min.js"></script> <div class="test-div"></div> <script src="/js/jquery.gsap.min.js"></script> <script src="/js/TweenMax.min.js"></script> <script src="/js/main.js"></script> </body> </html>
CSS code here
body { background-image: url("../Imgs/PageBg/bg.jpg"); } .test-div { min-width: 50px; max-width: 50px; min-height: 50px; max-height: 50px; background-color: #79fe9c; }
JS here
console.log("init"); TweenMax.to(".test-div",2,{left:600});
pretty simple code
but
it's not working……
don't know why
can any one tell me where i'm make misstake ?
THX for your time
TweenMax.to() not working
in GSAP
Posted
(ง •̀_•́)ง OMG
sorry to trouble you
and
i know where i'm dead……
THX
and thank the GreenSock team for all your great working
next i'll use codepen