Hi,
for my Projekt in TYPO3 I need to use variables in my Animation / ScrollTrigger .
Somethin like that...
var myid1 = somefunction1
var myid2 = somefunction2
ScrollTrigger.create({
trigger: '#step-2',
start: 'top center',
onEnter: myid1,
onLeaveBack: myid2,
markers: false,
id: 'second-box' });
Is this even possible?
I don´t need to change the variables on the fly.
Thanks in advance
Lauritz Offe