Characterization, Production and Applications (English Edition) eBook : Banks, Craig

'); doc.close(); } } this.iframeload = function () { var iframe = document.getElementById(iframeId); iframe.style.display = ''; setTimeout(function () { setIframeHeight(initialResizeCallback); }, 20); } function getDocHeight(doc) { var contentDiv = doc.getElementById("iframeContent"); var docHeight = 0; if(contentDiv){ docHeight = Math.max( contentDiv.scrollHeight, contentDiv.offsetHeight, contentDiv.clientHeight ); } return docHeight; } function setIframeHeight(resizeCallback) { var iframeDoc, iframe = document.getElementById(iframeId); iframeDoc…
view related posts