00:00
69%
Colin Stewart Perreault | MTBM Social
Send to a friend! Copied to clipboard

Message Me

0/500
.classList.remove('clicked'); window.open(element.getAttribute('href'), '_blank'); }, 200); } // Play heart sound - this one can toggle function playHeartSound(event, element) { event.preventDefault(); const iconContainer = element.querySelector('.icon-placeholder'); iconContainer.classList.toggle('clicked'); // Play the heart sound heartSound.currentTime = 0; heartSound.play(); } // Share link functionality - stays active function shareLink(event, element) { event.preventDefault(); const iconContainer = element.querySelector('.icon-placeholder'); iconContainer.classList.add('clicked'); // Copy current URL to clipboard navigator.clipboard.writeText(window.location.href).then(() => { // Show popup sharePopup.classList.add('show'); // Hide popup after 2 seconds setTimeout(() => { sharePopup.classList.remove('show'); }, 2000); }); } // Navigate with icon animation for nav items - shows active briefly then back to static function navigateWithIcon(event, element) { event.preventDefault(); const iconContainer = element.querySelector('.nav-icon'); // Add clicked state to current icon iconContainer.classList.add('clicked'); // Navigate after a short delay to show the animation setTimeout(() => { iconContainer