function toggleMenu () {
document.getElementById('mobile').classList.toggle('active');
var menuButtons = document.getElementsByClassName('nav-bars');
var ctaButtons = document.getElementsByClassName('before-mobile-nav');
for (var btn of ctaButtons)
{
btn.classList.toggle('active');
}
for (var btn of menuButtons) {
btn.classList.toggle('active');
}
}
window.onload = function () {
let showalert = sessionStorage.getItem('close-nav-alert');
if (showalert == 'true') {
toggleAlert();
}
}
//scroll to top button
window.addEventListener('scroll', function (event) {
var scrolltobutton = document.getElementById("to-top");
if (document.body.scrollTop > 350 || document.documentElement.scrollTop > 350) {
scrolltobutton.style.display = "block";
} else {
scrolltobutton.style.display = "none";
}
}, false);
function scrollClick() {
console.log("the button was clicked!");
document.body.scrollTop = 0;
document.documentElement.scrollTop = 0;
}
Realisaties
Een greep uit onze realisaties
De afgelopen jaren begeleidden we al meer dan 8.000 gezinnen naar hun nieuwe woning. Of u nu kiest voor moderne stijl, landelijke stijl of klassieke stijl. Sibomat bouwt uw woning op maat.