Thanks for this. It has been super helpful and works great.
As a next step though I am struggling to take it to the next level and implement SplitText. Any advice?
I know the SplitText I am trying to implement works great, as I use it in other areas of the page fired with scrollmagic:
$(".top-text2").each(function(i) {
var splitone = new SplitText($split[i], {type: 'chars, words'});
var tl = new TimelineMax();
tl.staggerFrom(splitone.chars, 0.5, {y: 80, opacity: 0, ease: Power4.easeOut}, 0.01);
new ScrollMagic.Scene({
triggerElement: this,
})
.setTween(tl)
.addTo(ctrl);
});
Any advice much appreciated.
Cheers!