I have a page with 2 links on it. The page URL is example.com/all
Şimdi sayfada 2 bağlantıları, bir example.com / all / listesi ve example.com / tüm / haritaya diğer gider
What I want is when the user lands on example.com/all, class for the href link needs to be 'current' When I click on example/all/map the map link needs to have the class 'current' and the list/all link needs it removing.
Bütün / harita üzerine tıkladıktan sonra tüm / listesinde tıkladığınızda, geçerli sınıf tüm / liste linke olması gerekir ve tüm / haritadan çıkarıldı
Eğer mantıklı?
Bir geçiş benzer.