<iframe id="smart-iframe" src="https://www.smartdesignerdoors.co.uk/create/?CUNO=30009&SUBC=DEF" style="width: 100%;"></iframe> <script> var smartIframe = document.getElementById('smart-iframe');
if (smartIframe) {
    resizeSmartIframe();

    window.addEventListener("resize", function() {  
        resizeSmartIframe();
    });

    function resizeSmartIframe()
    {
        if (window.innerWidth < 768) 
        {
            var height = window.innerHeight - 20;
        } 
        else {
            var height = window.innerHeight - 120;
            if (height > 1100) height = 1100;    
        }
        smartIframe.style.height = height + "px";
    }
}
</script>