Jump to content
GreenSock

Marnau

Members
  • Posts

    2
  • Joined

  • Last visited

Marnau's Achievements

  1. Thanks for your help, Jack. And you are right, it is an unnecessarily unintuitive solution.
  2. Hi, I'm new to the forums and I created this codepen to show what I'm trying to achieve: https://codepen.io/marnau/pen/PoewRRO I used some of the code from Cassie's introduction to Observer to make this sections that move when we scroll down and up (.swipe-section). But when we get to the middle section (.scroll), I would like Observer to disable and allow for normal vertical scrolling. And in the last two sections it should go back to Observer action. I hope I made myself clear. I don't know how I should go about disabling and re-enabling Observer properly. And I'm also having trouble because I have to make the middle section position:relative but then the scrollbar starts progressing at the beginning of the page. I hope someone can point me in the correct direction. Thanks.
×