They are many possibilities.
Let’s say, we have a repeated fading effect animation that does not require any delay. But we would like to trigger this animation 2 seconds after the page is ready. In that case, we need to set this animation to ‘Manually’, and then create another animation that has delay of 2000. Inside this one, we add the call to the first animation by choosing it from under the top JavaScript textbox found under the ‘more configuration’ link.
Over this JavaScript textbox there are 3 options, OnReady, Before the delay, and after the delay.
– OnReady will output the JavaScript textbox outside the function, literally OnReady.
– Before the delay will output the JavaScript textbox inside the function, before the delay condition.
– After the delay will output the JavaScript textbox inside the function, and after the delay condition.
About your issue, I don’t have any solution, but you have the freedom to create any variable that can be used as switches. By example: declare a variable, var myvar = ”; inside a JavaScript textbox that is set onReady. And wrap the call of the function, with a condition.
if( myvar != 1 ){
[REPLACE_THIS_WITH_YOUR_FUNCTION]
myvar = 1;
}
You probably can do your one time animation with a JavaScript cookie, and use it as your switch.