Hello
i think it's simple but i would like add and remove a image .gif in my timelineMax
I tried to do :
tl.to(slide02.append('<img src="img/text.gif">'), 1.2, {autoAlpha:1, ease:Power2.easeOut});
and add or insert
but my problem it's that the image .gif begin in start of timeline but i don"t want that, because the .gif is animate and the animation have to start after few others animations.
I tried with onComplete and the function but after i don't know how the remove it because after the gif animation i have few others animations and I think it's not the best way
function addImageGif () {
document.getElementById("imgText").innerHTML='<img src="img/text.gif">';
};
Can you help me ?
Thanks