Hi
I have a project and I have implemented an animations code - which works in the browser - after some search I found that the animations are not supported in iOS yet , is there any solution ?
here is my code :
fade(element) {
var op = 1; // initial opacity
var timer = setInterval(function () {
if (op <= 0.1){
clearInterval(timer);
element.style.display = 'none';
document.getElementById("login").style.display="block";
}
element.style.opacity = op;
element.style.filter = 'alpha(opacity=' + op * 100 + ")";
op -= op * 0.1;
}, 30);
}