I've started with javascript and GSAP in my project. I've used Tweenlite.to() to change the opacity of some anchor tags.
The animations are working absolutely great the first time I'm opening the page. But if I reload the page, the tweens are not working. I'm closing the tab and opening the page in a new tab and its working again.
Animations not working on reload
in GSAP
Posted
I've started with javascript and GSAP in my project. I've used Tweenlite.to() to change the opacity of some anchor tags.
The animations are working absolutely great the first time I'm opening the page. But if I reload the page, the tweens are not working. I'm closing the tab and opening the page in a new tab and its working again.
Why is it so?
<--HTML file-->
<html>
<head>
<--animations.js-->