Hi there,
I'm using the Observer demo and struggling to find a way to make header and footer appears on all sections except for the first one.
Basically I'd like that they appear scrolling down in section 2, then they stay fixed until the end of the scroll. When you scroll the page up they stay fixed until the first section where they disappear like the start.
I've only added:
if (currentIndex >= 0) {
gsap.to(items,{ autoAlpha: 1, zIndex: 3});
}
But of course is working only scrolling down because the complex (for me) logic behind the starting demo.
Thanks!