thomaster109's picture
clone this website: https://www.jacquemus.com/nl_nl
a0699cb verified
Raw History Blame Contribute Delete
484 Bytes
document.addEventListener('DOMContentLoaded', function() {
// Mobile menu toggle functionality will be handled via navbar component
// Smooth scrolling for anchor links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
document.querySelector(this.getAttribute('href')).scrollIntoView({
behavior: 'smooth'
});
});
});
});