Jump to content
Search Community

tami

Members
  • Posts

    4
  • Joined

  • Last visited

tami's Achievements

0

Reputation

  1. tami

    getting started issues

    thank you! of course now it works.....
  2. tami

    getting started issues

    i think the problemis diffrent beacause i fixed that and still nothing.... <div class="gradient"></div> <div class="demo"> <img class="logo" src="img/dubi.png"/></div> <script src="http://cdnjs.cloudflare.com/ajax/libs/gsap/1.17.0/TweenMax.min.js"></script> <script src="js/main.js"></script> document.addEventListener('DOMContentLoaded', function() { TweenMax.toTweenMax.to(".logo",2,{left:600}); });
  3. tami

    getting started issues

    i am sorry but i still dont get it.... i think i have everything right but nothing happans. i added position : absolute; also changed my js file. and i dont understand what i am doing wrong. html: <body> <div class="gradient"></div> <div class="demo"> <img class="logo" style="position:absolute;" src="img/dubi.png"/></div> <script src="http://cdnjs.cloudflare.com/ajax/libs/gsap/1.17.0/TweenMax.min.js"></script> <script src="js/main.js"></script> </body> and the javascript: document.addEventListener('DOMContentLoaded', function() { TweenMax.to(document.getElementById("logo"),2,{left:600}); });
  4. i am new here and i was following the 'Get Started Quickly With GASP' video. and there is something i am probably missing because it doesnt work for me. <script src="http://cdnjs.cloudflare.com/ajax/libs/gsap/1.17.0/TweenMax.min.js"></script> <script src="js/main.js"></script> i added the lines above in the body tag as explained: and i created a js file in a js folder. and added the next line: TweenMax.to(document.getElementById("logo"),2,{left:600}); and.... nothing happens.
×
×
  • Create New...