답변 2개
전 이 소스 아직 사용중인데 안되나요?
<iframe name=iname style='width:100%' scrolling=no frameborder=0 src='http://www.dwebs.co.kr' onLoad="setIFrameHeight(this)"></iframe>
<script>
function setIFrameHeight(obj){
if(obj.contentDocument){
obj.height = obj.contentDocument.body.offsetHeight + 40;
} else {
obj.height = obj.contentWindow.document.body.scrollHeight;
}
}
</script>
답변을 작성하려면 로그인이 필요합니다.