top of page

Blue Bridge Group

Public·133 members

This article is a good resource for anyone wanting to explore the topic. The approach used is balanced and takes different perspectives into account. I pointed this text out to a colleague who was looking for similar information. It is a good reference point for anyone wanting to explore the topic.

https://www.squids.co.nz/

3 Views
bottom of page
window.addEventListener('message', function(event) { if (!event.data || typeof event.data !== 'object') return; if (event.data.type !== 'setHeight' || !event.data.height) return; // Find which iframe sent this message by matching its contentWindow var iframes = document.querySelectorAll('iframe[name="htmlComp-iframe"]'); iframes.forEach(function(iframe) { if (iframe.contentWindow === event.source) { // Walk up to the Wix container div and override the fixed height var container = iframe.closest('[id^="comp-"]'); if (container) { container.style.height = event.data.height + 'px'; } iframe.style.height = event.data.height + 'px'; } }); });