Jump to content


  • Posts

  • Joined

  • Last visited

Recent Profile Visitors

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

dev33's Achievements

  1. The final view https://codepen.io/dev33-developer33/pen/GRwKQzj
  2. thank you very much, it helped me a lot, it disappeared only after clicking on the partition transfer, but I already did it, thanks again, this is a very good job
  3. I need something to connect the navbar and sections
  4. I tried this but it doesn't work, something is missing
  5. const navbarLinks = document.querySelectorAll(".navbar a"); function setActive(link) { navbarLinks.forEach(el => el.classList.remove("active")); link.classList.add("active"); } navbarLinks.forEach(a => { let element = document.querySelector(a.getAttribute("href")); ScrollTrigger.create({ trigger: element, start: "top top", end: "top bottom", onToggle: self => self.isActive && setActive(a) }); });
  6. but it doesn't work right, and as I see it is necessary to add for all sections and I need it to be dynamic
  7. I want the active menu to change after horizontal scrolling
  8. https://codepen.io/GreenSock/pen/bGVjLwG - for example it works but when the sections are vertical and I need it horizontally
  9. I need the menu to be active after scrolling; now it only works when you do a click, thanks