more work starting 2.9

This commit is contained in:
2023-08-05 19:09:31 +00:00
parent 0cd379f653
commit ff1f32a698
9 changed files with 393 additions and 11 deletions

View File

@@ -0,0 +1,8 @@
var navLinks = document.querySelectorAll("nav a");
for (var i = 0; i < navLinks.length; i++) {
var link = navLinks[i]
if (link.getAttribute('href') == window.location.pathname) {
link.classList.add("live");
break;
}
}