Good day,
i'm sorry, codepen doesn't seem to be working for me for some reason, i think i explain clearly enough though.
I have a timeline consisting of text that i would to appear, then disappear, followed by more text doing the same thing (see example below):
var txtTimeline = new TimelineMax();
txtTimeline.to(header1, 1, {alpha:1. delay:1});
txtTimeline.to(header1, 1, {alpha:0, delay:1.5});
txtTimeline.to(header2, 1, {alpha:1., delay:1});
txtTimeline.to(header2, 1, {alpha:0, delay:1.5});
In my code, this is accompanied by a video, when i hover on the video, i have an event listener that changes the alpha of the video to 0;
I want to change the alpha of anything in the timeline to 0 as well.
Question: Is there a way to change alpha values of a timeline, without having to change each element within the timeline individually?
I hope this makes sense, let me know if there is anything else i can assist with.
thanks in advance,
J