Jump to content
Search Community

bchen5803

Members
  • Posts

    2
  • Joined

  • Last visited

bchen5803's Achievements

0

Reputation

  1. It acutally did help. Setting position to relative fixed the problem and the animation is working fine now. Thanks a bunch dipscom
  2. I just started with tweenmax today. went to the tutorial here...https://greensock.com/get-started-js Followed everything. included the cdn. got myself an image...... got myself the reference to my javascript file. copied exactly word for word and i couldnt get the animation to work. honestly didnt want to ask i've already spent 5 hours trying to figure it out with no avail. Everything is in the same folder.... I've even tried to switch the class to id and use document.getelemntbyid to reference it as well but doesnt work. can anyone tell me how to fix it? i dont really want to give up on this..... Also im using google chrome if that helps Heres the tutorial code <body> <div class="*%$#"> <img class="logo" src="download.jpg"> </div> <!--CDN link for TweenMax--> <script src="http://cdnjs.cloudflare.com/ajax/libs/gsap/1.19.0/TweenMax.min.js"></script> <script src="test.js"> </script> </body> and my javascript file TweenMax.to(".logo",2,{left:600});
×
×
  • Create New...