commit
This commit is contained in:
+19
-3
@@ -177,13 +177,29 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
streamBtnActivate();
|
||||||
|
setInterval(streamBtnActivate, 10000);
|
||||||
|
|
||||||
|
/*
|
||||||
var box = document.getElementById("nav-podcast");
|
var box = document.getElementById("nav-podcast");
|
||||||
var boxAfter = window.getComputedStyle(box, "::after");
|
var boxAfter = window.getComputedStyle(box, "::after");
|
||||||
console.log(boxAfter.backgroundColor); // getting the background color
|
console.log(boxAfter.backgroundColor); // getting the background color
|
||||||
console.log(boxAfter.opacity); // getting the background color
|
console.log(boxAfter.opacity); // getting the background color
|
||||||
|
*/
|
||||||
streamBtnActivate();
|
|
||||||
setInterval(streamBtnActivate, 10000);
|
function menuOpacity() {
|
||||||
|
const navbar = document.getElementById("navbar");
|
||||||
|
let y = navbar.scrollTop;
|
||||||
|
if (y > 10) {
|
||||||
|
navbar.style.setProperty('--bs-bg-opacity', 1);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
navbar.style.setProperty('--bs-bg-opacity', 0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user