@awc95014: sure, thanks for your time!
I have an animation that I deconstructed like I said here . And that works fine.
But if the div I write the animation in gets hidden, Wick starts spewing JS-errors in the console, and all kinds of stuff break . I know why this is happening, because when you hide a canvas, you are not allowed to make JS calls to it.
So, I would like to stop, disable or completely delete the wick-animation/players.
At the moment I do that by writing the whole shebang into an iframe. In that case, when I destroy the iframe, it simply remove that whole DOM, including the whole wick-instance - problem solved.
But I do not really like this, as I am creating and destroying DOMs left, right and center, this way…
(Browsers do not really seem to mind, but I do not like it :-p )
regards,
Paul