Back to blog

Curtis Thornhill

2016

Biography

Curtis Thornhill is the CEO and Founder of Apt Marketing Solutions, an organization that creates tools and services to help marketing teams improve the visibility, accountability, and effectiveness of marketing programs. Previously, he was Vice President, Operations & Consulting at American Data Company, a business process and technology consulting firm specializing in providing enterprise cloud computing solutions. Curtis has served on the board of Silicon Valley LGBT Community Center, Utah AIDS Foundation, and Entrepreneurs' Organization Utah.

/* ============================================= Timed Popup — Shows after a delay on every page Closes on: X button, overlay click, or Escape key Once per session (won't show again until new session) ============================================= */ document.addEventListener("DOMContentLoaded", function () { /* Target the popup elements by their Webflow classes */ const popup = document.querySelector(".modal-popup_wrapper"); const closeBtn = document.querySelector(".modal-popup_close"); const overlay = document.querySelector(".modal-popup_overlay"); /* Check if popup has already been seen this session */ if (sessionStorage.getItem("popupSeen")) return; /* Show the popup after a delay Change 4000 to adjust timing (1000 = 1 second) */ setTimeout(function () { popup.style.display = "flex"; popup.removeAttribute("aria-hidden"); closeBtn.focus(); /* Moves focus to close button for accessibility */ }, 4000); /* Close the popup and record the session */ function closePopup() { popup.style.display = "none"; popup.setAttribute("aria-hidden", "true"); sessionStorage.setItem("popupSeen", "true"); /* Prevents popup from showing again this session */ } /* Close triggers */ closeBtn.addEventListener("click", closePopup); /* X button */ overlay.addEventListener("click", closePopup); /* Clicking the dim background */ document.addEventListener("keydown", function (e) { if (e.key === "Escape") closePopup(); /* Escape key */ }); });