Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

_HelloWorld_

Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Newbie

About _HelloWorld_

  • Rank
    Newbie
  1. I am trying out the gsap animation library. According to the basic docs the syntax for getting a tween up and running is: TweenLite.to( [target object], [duration in seconds], [destination values] ) So I have tried a really simple tween based on jQuery's hover event: $('.contact-item').hover(function(){ TweenLite.to(this,4,{background:'#671B4B'}); },function(){ TweenLite.to(this,4,{background:'#FFFFFF'}); }); Oddly, the background does change to the correct color, but it tweens instantly instead of over the course of 4 seconds as I have specified in the second argument. I did c
×