TimelineMax not working after loading the animation the second in GSAP Posted October 7, 2014 Hi, I am have implemented an animation at http://hrxbrand.com/ using TimelineMax. Please find below the code. timeline = new TimelineMax(); timeline.from($hrithik, 1, {left: -200}).from($logo, 0.3, {marginTop: 0, autoAlpha: 0}, '+=0.2').from($('.home-wrapper-right'), 0.2, {marginTop: 0, autoAlpha: 0}, '+=0.2').add('showHeaderFooter').from($header, 0.5, {top: -67, autoAlpha: 0}, 'showHeaderFooter').from($footer, 0.5, {bottom: -55, autoAlpha: 0}, 'showHeaderFooter'); The problem is that the animation gets stuck after loading the site multiple times. We tried using clear and kill function but its not working. Kindly help us to resolve the same. Thanks!
TimelineMax not working after loading the animation the second
in GSAP
Posted
Hi,
I am have implemented an animation at http://hrxbrand.com/ using TimelineMax.
Please find below the code.
timeline.from($hrithik, 1, {left: -200})
.from($logo, 0.3, {marginTop: 0, autoAlpha: 0}, '+=0.2')
.from($('.home-wrapper-right'), 0.2, {marginTop: 0, autoAlpha: 0}, '+=0.2')
.add('showHeaderFooter')
.from($header, 0.5, {top: -67, autoAlpha: 0}, 'showHeaderFooter')
.from($footer, 0.5, {bottom: -55, autoAlpha: 0}, 'showHeaderFooter');
The problem is that the animation gets stuck after loading the site multiple times.
We tried using clear and kill function but its not working.
Kindly help us to resolve the same.
Thanks!