Stay tuned
Powered by
GoDaddy document.addEventListener("DOMContentLoaded", function () { const bookBtn = document.querySelector(".package-actions .pay-now"); const crowdfundBtn = document.querySelector(".package-actions .crowdfund"); const bookHeader = document.getElementById("booknowheader"); const bookForm = document.getElementById("booknowform"); const crowdfundHeader = document.getElementById("crowdfundheader"); const crowdfundForm = document.getElementById("crowdfundform"); function hideAll() { [bookHeader, bookForm, crowdfundHeader, crowdfundForm].forEach(el => { el?.classList.remove("active"); }); } if (bookBtn) { bookBtn.addEventListener("click", function (e) { e.preventDefault(); hideAll(); bookHeader?.classList.add("active"); bookForm?.classList.add("active"); bookHeader?.scrollIntoView({ behavior: "smooth" }); }); } if (crowdfundBtn) { crowdfundBtn.addEventListener("click", function (e) { e.preventDefault(); hideAll(); crowdfundHeader?.classList.add("active"); crowdfundForm?.classList.add("active"); crowdfundHeader?.scrollIntoView({ behavior: "smooth" }); }); } });