Jump to content
GreenSock

Mustafa Şatıroğlu

Members
  • Posts

    9
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Mustafa Şatıroğlu's Achievements

  1. Hello everyone. I'm just learning gsap. It's really fun I have a problem. I am trying to add and remove classes in navigation menu items in scroll state. I want the active class to be added to the menu items that are above the scroll, and to remove the active class from the menu items unless there is a scroll. So let me give an example. Let's say the user went to Section 3. In this case, the active class will be added to the first 3 of the above menu items. In this case, let's say it went to section 2 by scrolling. This time, the active class will be added to the first 2 of the above menu items. I hope I was able to explain. I tried a lot, but I'm very new to gsap and couldn't do it.
  2. @SteveS Hi my friend. I will do as you say. I'll open a thread on the gsap forum. Thanks
  3. hello my friend. @GreenSock I made a few updates. I added the progress bar. Everything is going great so far. Gsap is really fun. 🥰 I have one last question. I want the active class to be added to the menu items that are above the scroll, and to remove the active class from the menu items unless there is a scroll. So let me give an example. Let's say the user went to Section 3. In this case, the active class will be added to the first 3 of the above menu items. In this case, let's say it went to section 2 by scrolling. This time, the active class will be added to the first 2 of the above menu items. I hope I was able to explain. I tried a lot, but I'm very new to gsap and couldn't do it. https://codepen.io/mustafasatiroglu/pen/LYdwmQq
  4. @Cassie Hi everyone. I have a problem (https://codepen.io/GreenSock/pen/xxEQNBB) in the codepen link I sent below, I want to add prev and next buttons to each section field. And when I click these buttons, I want it to jump to the next or previous section field. Can you help with this?
  5. thanks @Cassie yes i am just learning. I solved this problem. I would have another question. In the example (https://codepen.io/GreenSock/pen/xxEQNBB) in the codepen link I sent below, I want to add prev and next buttons to each section field. And when I click these buttons, I want it to jump to the next or previous section field. Can you help with this?
  6. Hello everyone. I'm trying to make improvements on GSAP. I have an example of a timeline. Liked it very much. In the example I saw on the Codepen site, the content, that is, each section area, scrolls vertically. I want to scroll it horizontally with the mouse. I am posting the link example. In short, in the example above, what kind of changes do I need to make in the js code in order to scroll each section field horizontally, not vertically?
×