Begin and Run a Cash-Making Enterprise: Ramsey, Dan: 9780070513631: Amazon

‘); doc.shut(); } } this.iframeload = perform () { var iframe = doc.getElementById(iframeId); iframe.type.show = ”; setTimeout(perform () { setIframeHeight(initialResizeCallback); }, 20); } perform getDocHeight(doc) { var contentDiv = doc.getElementById(“iframeContent”); var docHeight = 0; if(contentDiv){ docHeight = Math.max( contentDiv.scrollHeight, contentDiv.offsetHeight, contentDiv.clientHeight ); } return docHeight; } perform setIframeHeight(resizeCallback) { var iframeDoc, iframe = doc.getElementById(iframeId); iframeDoc = ((iframe.contentWindow && iframe.contentWindow.doc) || iframe.contentDocument); if (iframeDoc) { var h = getDocHeight(iframeDoc); if (h && h != 0) { iframe.type.top = parseInt(h) + ‘px’; if(typeof resizeCallback == “perform”) { resizeCallback(iframeId); } } else if (nTries

Source

Leave a Reply

Your email address will not be published. Required fields are marked *