¾ÆÀÌÇÁ·¹ÀÓ ¼¼·Î ÀÚµ¿¸®»çÀÌ¡ |
|
|
 |
15³â Àü |
<iframe id="IFRAME" width="0" height="0" src="°æ·Î" frameborder="0" marginwidth="0" marginheight="0" onLoad="resizeHeight('IFRAME')"></iframe>
<script>
function resizeHeight(FrameName)
{
if(document.all) {
var body_height = frames[FrameName].document.body.scrollHeight;
} else {
var body_height= document.getElementById(FrameName).contentWindow.document.body.offsetHeight;
}
// ÀÚ·á°¡ ¾øÀ»°æ¿ì ·¹À̾ º¸ÀÌÁö ¾ÈÄÉÇϱâÀ§ÇØ
if(body_height != 22){ // ÀÚ·á°¡ ¾øÀ»´ë¿¡ ³ôÀ̸¦ ÁöÁ¤ÇØÁÖ¼¼¿ä
document.getElementById(FrameName).height=body_height;
}else{
document.getElementById(FrameName).height=0;
}
}
</script> |
|
̵̧ : 453 |
̵̧
¸ñ·Ï
|
|