mrjohnjosol
posted this
19 April 2023
I like to add this script:
const header = document.querySelector(".header");
window.addEventListener("scroll", function () {
if (window.scrollY > 0) {
header.classList.add("header-transparent");
} else {
header.classList.remove("header-transparent");
}
});
But I dont know how to insert javascript in nicepage desktop application
Vote to pay developers attention to this features or issue.