Easily embed your ticket or table sales into an external website
<div class="iframe-section"> <iframe style="width: 100%; border: none; border-radius: 10px; padding: 0px" id="iframe-treasure-tickets" sandbox="allow-same-origin allow-forms allow-scripts" src="YOUR-EVENT-URL/embed-checkout?embed=true&iframeId=iframe-treasure-tickets" title="Ticket Booking" loading="lazy" ></iframe> </div> <script> document.addEventListener("DOMContentLoaded", function () { window.addEventListener("message", function (event) { if ( event.origin === "https://www.ontreasure.com" && event.data.height && event.data.iframeId ) { const iframe = document.getElementById(event.data.iframeId); if (iframe) { const height = Math.max(parseInt(event.data.height), 600); iframe.style.height = height + "px"; } } }); }); </script>
<div class="iframe-section"> <iframe style="width: 100%; border: none; border-radius: 10px; padding: 0px" id="iframe-treasure-application" sandbox="allow-same-origin allow-forms allow-scripts" src="YOUR-EVENT-URL/embed-application?iframeId=iframe-treasure-application" title="Vendor Application" loading="lazy" > </iframe> </div> <script> document.addEventListener("DOMContentLoaded", function () { window.addEventListener("message", function (event) { if ( event.origin === "https://www.ontreasure.com" && event.data.height && event.data.iframeId ) { const iframe = document.getElementById(event.data.iframeId); if (iframe) { const height = Math.max(parseInt(event.data.height), 600); iframe.style.height = height + "px"; } } }); }); </script>
<div class="h1"> TICKETS </div> <div class="iframe-section"> <iframe style="width: 100%; border: none; border-radius: 10px; padding: 0px" id="iframe-treasure-tickets" sandbox="allow-same-origin allow-forms allow-scripts" src="YOUR-EVENT-URL/embed-checkout?embed=true&iframeId=iframe-treasure-tickets" title="Ticket Booking" loading="lazy" ></iframe> </div> <div class="h1"> TABLES </div> <div class="iframe-section"> <iframe style="width: 100%; border: none; border-radius: 10px; padding: 0px" id="iframe-treasure-application" sandbox="allow-same-origin allow-forms allow-scripts" src="YOUR-EVENT-URL/embed-application?iframeId=iframe-treasure-application" title="Vendor Application" loading="lazy" ></iframe> </div> <script> document.addEventListener("DOMContentLoaded", function () { window.addEventListener("message", function (event) { if ( event.origin === "https://www.ontreasure.com" && event.data.height && event.data.iframeId ) { const iframe = document.getElementById(event.data.iframeId); if (iframe) { const height = Math.max(parseInt(event.data.height), 600); iframe.style.height = height + "px"; } } }); }); </script>