iframe (2) 썸네일형 리스트형 [ HTML ] iframe 자동 높이 조절 $(document).ready(function(){ $("#board_IFM").load(function(){ alert($(this.contentDocument).find('body').height()); $("#iframe_src").attr('value',$(this.contentDocument).find('body').height()); var iHeight=($(this.contentDocument).find('body').height()); $(this).height(iHeight); }) }) 아.. 삽질 좀 했네.. 잘 써먹어야 할텐데..ㅋㅋ [ Javascript ] iframe 높이깂 자동 조절 [출처] iframe 높이값 자동제어하는 방법|작성자 quierodw 이전 1 다음