Streaming live at 10am (PST)

Help with Embed in Tabs

Can anyone help!?

I have a page with several tabs, on the last of which is an embed with javascript to load a booking calendar served by a separate booking system.

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="" charset="utf-8"></script>

Here is my site Read-Only link:

@samliew are you able to help me with this?