documenting and adding defaults

This commit is contained in:
sakrecoer 2020-10-21 17:04:07 +02:00
parent 7342cba3eb
commit 642f1a32f0
78 changed files with 13656 additions and 4 deletions

2
assets/js/jquery-3.5.1.min.js vendored Normal file

File diff suppressed because one or more lines are too long

32
assets/js/set-20200911.js Normal file
View file

@ -0,0 +1,32 @@
// When the user scrolls the page, execute scrollMenu
window.onscroll = function () { scrollMenu() };
// Get the navbar
var navbar = document.getElementById("logo");
var hider = document.getElementById("sticky");
// Get the offset position of the navbar
var sticky = navbar.offsetTop;
// Add the sticky class to the navbar when you reach its scroll position. Remove "sticky" when you leave the scroll position
function scrollMenu() {
if (window.pageYOffset >= sticky) {
hider.classList.add("sticky")
} else {
hider.classList.remove("sticky")
}
}
// Make a pretty background when menu is open
var bodyBluring = document.getElementById("main-wrapper")
function blurBody() {
bodyBluring.classList.toggle("blurredout");
}
function removeBlur() {
bodyBluring.classList.remove("blurredout")
}
/// request permission to autoplay