I originally thought this did not work with do_shortcode in a template, but actually the issue is that it does not work in a hidden div. We are using a tabbed display and this tab is not shown by default. As such, the JS sets the height of the Panoramic div to 0 making it invisible.
Is there a way to re-initiate the JS when a tab is clicked?
I originally thought this did not work with do_shortcode in a template, but actually the issue is that it does not work in a hidden div. We are using a tabbed display and this tab is not shown by default. As such, the JS sets the height of the Panoramic div to 0 making it invisible.
Is there a way to re-initiate the JS when a tab is clicked?