Copy link to clipboard
Copied
Hi I have a banner running on a site where it is shown in 10 sec and then another banner is shown. I have an animation that is 10 sec but when this banner is running it runs fine the first time but next time it is showing some of the last part of the animation. The 3rd time a different way it is shown and the it runs rigt again.
How can i make my banner/animation always run from the start. I belive it can be something with the internet connection or ? Bu I would like to make sure that my banner runs from start everytime it is shown..
Any ideas please
Thanks so much
Lars Gravesen
Copy link to clipboard
Copied
either prevent it from being cached or restart in when the embedding page loses focus.
Copy link to clipboard
Copied
Hi thanks so much but how do I do that, could you please help me with some details I am not sure how to do this.
Thanks so much
Lars Gravesen
Copy link to clipboard
Copied
do you control the html page?
Copy link to clipboard
Copied
No I am afraid not.
Thanks
Lars
Copy link to clipboard
Copied
this code works in animate, javascript - Is there a way to detect if a browser window is not currently active? - Stack Overflow
Copy link to clipboard
Copied
OK thanks how do I use it? Do I use it in Animate as code and should I do anything else. Thanks
Lars
Copy link to clipboard
Copied
you can copy and paste the code into animate but instead of assigning a class when your page loses focus and then regains it, you should restart your animation.
Copy link to clipboard
Copied
thanks for your answer I am afraid that I don´t know how this is done. Thanks Lars
Find more inspiration, events, and resources on the new Adobe Community
Explore Now