Catch up on the latest industry marketing news, dive deeper into marketing strategies and best practices, and get our best digital marketing insights below. We post often, so come back regularly to continue learning!
Get the latest marketing news
Catch up on the latest industry marketing news, dive deeper into marketing strategies and best practices, and get our best digital marketing insights below. We post often, so come back regularly to continue learning!
Every day across the world, millions of people run billions of web searches. These inquiries range from the banal to the abstract. For example, “Why is the sky blue?” is one of the most common questions on Google, but you’...
(function loadDownloadDecksForm() {
// 1) List the exact paths that SHOULD show the form:
const showOn = [
'/lightapalooza-2024', // adjust to your real slug(s)
'/another-allowed-page'
];
// 2) Bail out if we're not on one of those pages:
if (!showOn.includes(window.location.pathname)) return;
// 3) Your original embed code, untouched:
try {
var f = document.createElement("iframe");
f.src = 'https://forms.zohopublic.com/zohoinfo6481/form/Lightapalooza2024DownloadDecks/formperma/rZbl13WaKeupP4kTKJJNwlmxr54Q-1B8d18HIb0PhQw?zf_rszfm=1';
f.style.border = "none";
f.style.height = "486px";
f.style.width = "100%";
f.style.transition = "all 0.5s ease";
f.setAttribute("aria-label", "Lightapalooza 2024 - Download Decks");
var d = document.getElementById("zf_div_rZbl13WaKeupP4kTKJJNwlmxr54Q-1B8d18HIb0PhQw");
d.appendChild(f);
window.addEventListener('message', function (event){
var evntData = event.data;
if (evntData && typeof evntData === "string"){
var parts = evntData.split("|");
if (parts.length === 2){
var perma = parts[0];
var newH = (parseInt(parts[1], 10) + 15) + "px";
var iframe = d.querySelector("iframe");
if (iframe.src.includes('formperma') && iframe.src.includes(perma)) {
if (iframe.style.height !== newH) {
iframe.style.height = newH;
}
}
}
}
}, false);
} catch(e){
console.error("Zoho embed failed:", e);
}
})();