DeezjaVu
Member
To fade elements in and out, use opacity:Quick question for anybody here that may know, I would like to use a custom animation (a simple fade I'm thinking), does anybody know how I would go about doing this? I got the custom image working, just looking to personalize a tin bit more. Any help would be appreciated, thanks!
In the teeboard-notification.html, modify the animation for the fade in:
Code:
TweenLite.fromTo(div, 0.6, {x:-920, opacity:0}, {x:0, opacity:1, onComplete:hideNotification});
And for the fade out:
Code:
TweenLite.to(div, 0.6, {x:-920, opacity:0, delay:6});
All of this and much more can be found here:
http://www.greensock.com/gsap-js/