document.addEventListener(“DOMContentLoaded”, function() { const tagElement = document.querySelector(“.colored-tag.colored-tag–bold”); if (tagElement) { tagElement.textContent = “Included with Zoo admission | Free for members”; } }); #hideNow { display: none; }
#hideNow { display: none; } .complex-price-badges__membership-badge-price-wrapper .colored-tag.colored-tag–bold.secondary-price, .secondary_link .global-link__icon-label { font-weight: 300; color: black !important; } .complex-price-badges__membership-badge-price-wrapper .colored-tag.colored-tag–bold.secondary-price { background-color: #00758e; color: white; } .complex-price-badges__membership-badge-secondary { display: flex; flex-direction: column; height: 100%; /* Ensure the div takes full height */ } .complex-price-badges__membership-badge-secondary-list { flex-grow: 1; /* Pushes the buttons down */ } .complex-price-badges__membership-badge-secondary-link, .secondary_link { […]
document.addEventListener(“DOMContentLoaded”, function() { const desktopVideoUrl = “https://detroitzoo.org/wp-content/uploads/2025/04/DZS_SUNSET_DESKTOP_250308.mp4”; const mobileVideoUrl = “https://detroitzoo.org/wp-content/uploads/2025/04/DZS_SUNSET_MOBILE_250308.mp4”; const isMobile = window.innerWidth { videoElement.muted = true; // Ensure the video is muted videoElement.play().catch(function(error) { console.warn(“Autoplay was prevented. Waiting for user interaction to play the video.”); }); }; videoElement.addEventListener(‘canplaythrough’, tryPlayVideo); // Additional attempts to play window.addEventListener(‘load’, tryPlayVideo); document.addEventListener(“click”, tryPlayVideo); document.addEventListener(“scroll”, tryPlayVideo); document.addEventListener(“keydown”, tryPlayVideo); […]
Notifications
All