iframe sizing | XM Community
Skip to main content
Need some quick help from you coders out there. I have a form on our website that is on the page using an iframe. The sizing isn't working properly on certain size phones. I was give the following code to make it respond, but it isn't working. Any ideas? <script> function resizeIframe() { var height = $('.embed-iframe iframe').contents().height(); $('.embed-iframe iframe').height(height); } $(window).bind("load", function() { resizeIframe(); }); $(window).resize(function() { resizeIframe(); } ); </script>
@JenF , Follow this page
> @Ritz said: > @JenF , Follow this page Thank you - I will take a look and see if we can get it to work!