Start by saying hello, doing special acts of neighboring or hosting a community event
A hopeful neighborhood is one where neighbors value and celebrate the unique people and places in their neighborhood and National Good Neighbor is a good way to start.
You can start with Hello and register your pledge at NationalGoodNeighborDay.org. You can share the Library Resource Kit with your local library and touch your whole community. There are many gifts in your neighborhood and National Good Neighbor Day is a great day to celebrate the people and neighbor gifts, right where you live!
Be sure to share your acts of kindness on social media and tag @hopefulneighborhood with the hashtags: #startwithhello #ilovemyneighborhood #goodneighborday
// --- Your Mailchimp Popup Code ---
function showPopup() {
// Load the Mailchimp script
!function(c,h,i,m,p){m=c.createElement(h),p=c.getElementsByTagName(h)[0],m.async=1,m.src=i,p.parentNode.insertBefore(m,p)}(document,"script","https://chimpstatic.com/mcjs-connected/js/users/79a60be720eda2f60bc025ed3/c5e83a0ae365dda1175f924d7.js");
// Unsetting the cookies to ensure the popup shows
document.cookie = "MCPopupClosed=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;";
document.cookie = "MCPopupSubscribed=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/";
}
// --- END Mailchimp Popup Code ---
document.addEventListener('DOMContentLoaded', function() {
// Use a small delay as a final safeguard
setTimeout(function() {
// Most general selector for the button link
var headerButton = document.querySelector('a[href*="/subscribe-popup-trigger"]');
if (headerButton) {
// 1. NEUTRALIZE THE LINK: Change the href to prevent navigation permanently
headerButton.href = "#";
// 2. Attach the click listener, FORCING THE CAPTURE PHASE (the 'true' argument)
headerButton.addEventListener('click', function(event) {
event.preventDefault(); // Ensure navigation is stopped
showPopup(); // 3. Run your custom function
}, true); // <<< THIS IS THE CRUCIAL CHANGE
console.log("Header button successfully hijacked with Capture Phase listener.");
} else {
console.error("Popup trigger button not found.");
}
}, 500); // 500 millisecond delay
});