Here’s Every State’s Favorite Holiday Movie (Infographic)
[]
Subscribe to Entrepreneur for $5
Subscribe
Signing out of account, Standby…
{ toast.style.display = “none”; }, 3000); } ]]>
New York is partial to The Apartment, while Georgia went with Gremlins. See where your favorite film stacked up.
By Hayden Field Updated: December 25, 2021 20th Century Fox
Written By
Hayden Field
Entrepreneur Staff
Hayden Field is an associate editor at Entrepreneur. She covers technology, business and science. Her work has also appeared in Fortune Magazine, Mashable, Refinery29 and others.
0) { // Are we in viewport? // Stop watching and load the ad dianomiObserver.unobserve(entry[0].target); var d = entry[0].target; d.width = 748; d.height = 610; d.style = ‘width: 100%; border: none; overflow: hidden; margin: 0 auto;’; d.id = 3483; var iframe = document.createElement(“iframe”); iframe.src = ‘//www.dianomi.com/smartads.epl?id=’+ d.id; iframe.style = d.style; iframe.id = d.id; iframe.width = d.width; iframe.height = d.height; iframe.scroll = ‘NO’; d.appendChild(iframe); } } if(elem) { var config = { rootMargin: ‘200px 0px’, // offset to determine how early to fire ad calls threshold: 0.01 }; var dianomiObserver = new IntersectionObserver(onIntersection, config); dianomiObserver.observe(elem); } })(); ]]> { fetch(`/fe/ads_us.available`) .then((response) => { return response.json(); }) .then((json) => { if (json.hasOwnProperty(`article-footer-promo`)) { const metaKeywords = `Holidays,Movies,News and Trends,Infographics,Christmas,Brain Break`.split(‘,’); let highestMatch = []; json[`article-footer-promo`].forEach((item, index) => { const { tags = [] } = item; if (tags.length) { const matchScore = tags.filter(function(obj) { return metaKeywords.indexOf(obj[‘tag_name’]) !== -1; }); // If highestMatch is populated, compare matchScore. if (highestMatch.length) { // If the stored matchScore is less than the item matchScore // reset highestMatch array values. if (highestMatch[0].matchScore 1) { highestMatch = []; } highestMatch[0] = { ‘matchScore’: matchScore.length, item, }; // Else if the stored matchScore is equal to the item matchScore // add the item to highestMatch array. } else if (highestMatch[0].matchScore === matchScore.length) { highestMatch.push({ ‘matchScore’: matchScore.length, item, }); } // Else highestMatch is not populated, populate it. } else { highestMatch[0] = { ‘matchScore’: matchScore.length, item, }; } } else { highestMatch[0] = { ‘matchScore’: 0, item, }; } }); if (highestMatch.length) { // If there are multiple matches, pick one at random. if (highestMatch.length > 1) { highestMatch[0] = highestMatch[ Math.floor(Math.random() * highestMatch.length) ]; } // Add the promo to innerHTML. document .getElementById(‘lazy-load-wrapper’) .innerHTML = ` ]]>
${highestMatch[0].item.copy}
`; } } return; }).catch((err) => { console.log(err); }); }; document.addEventListener(‘DOMContentLoaded’, () => { let lazyloadPromo = document.getElementById(‘lazy-load-container’); let lazyloadThrottleTimeout; const lazyload = () => { if (lazyloadThrottleTimeout) { clearTimeout(lazyloadThrottleTimeout); } lazyloadThrottleTimeout = setTimeout(() => { const scrollTop = window.pageYOffset; if (lazyloadPromo.offsetTop
Source