Can anyone help!?
If the embed is on the active tab when the page loads, it renders perfectly. However, if the embed is not the active tab when the page loads, when you switch to the tab, the calendar does not render properly.
I am guessing that I need to add an ‘onclick event listener’ so that the embed script is only parsed by the browser when the relevant tab link is clicked, but not quite sure how to accomplish this.
Would anyone be able to help? Thank you in advance! Below is a read-only link to the site and here is the embed script:
<script src="https://www.chaletmanager.com/alpinium/available/3007AJdRktEr4yx/current/?js&layout=grid" charset="utf-8"></script>
Here is my site Read-Only link: https://preview.webflow.com/preview/alpinium?utm_medium=preview_link&utm_source=designer&utm_content=alpinium&preview=cd7f96f64e886285faedae5df5ba1559&pageId=5f5777509e2164cbf08c0570&itemId=5f57a29d55813b779f31e93f&mode=preview