코드 사본은 다음과 같습니다.
함수 setcwinheight (obj) {
var cwin = obj;
if (document.getElementById) {
if (cwin &&! window.opera) {
if (cwin.contentDocument && cwin.contentDocument.body.offSetheight)
cwin.height = cwin.contentDocument.body.offSetheight + 30;
else if (cwin.document && cwin.document.body.scrollheight)
cwin.height = cwin.document.body.scrollheight + 30;
}
}
}
코드 사본은 다음과 같습니다.
<iframe id = "iframeid_help"scrolling = "no"onload = "javaScript : setCwinHeight (this)"
너비 = "670px"style = "테두리 : 0px"frameborder = "0"> </iframe>