How to Make Link Item Active when Scrolling past Section

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ธ.ค. 2024

ความคิดเห็น • 6

  • @MariamZakwani
    @MariamZakwani ปีที่แล้ว +2

    You've been a great help, thank you.

  • @tomoutram774
    @tomoutram774 7 หลายเดือนก่อน +1

    Fantastic tutorial, subscribed.

  • @alphamx13
    @alphamx13 ปีที่แล้ว +1

    Great tutorial just one question... once you are on the last section and you want to go back to home section, the active class shows on each section when scrolling up. Is there a way to only show the active class if you jump from one section to another without adding this active class on each section ? Thank you!

    • @mrsniffles7089
      @mrsniffles7089 6 หลายเดือนก่อน

      I am 7 months late but this is removed on the js code that commands previous selectors to remove (‘active’)

  • @카카오닙스맛쿠키
    @카카오닙스맛쿠키 ปีที่แล้ว +1

    thank you so much

  • @ob5804
    @ob5804 ปีที่แล้ว

    Help please! When I scrolled down and now scroll up, all the links are highlighted, but the active one is not, I understand that this is because the active class was deleted, but I don't know how to fix and write it down (?