{"id":1098,"date":"2004-03-15T02:37:44","date_gmt":"2004-03-15T02:37:44","guid":{"rendered":"http:\/\/dev.jblove.net\/?p=1098"},"modified":"2004-03-15T02:37:44","modified_gmt":"2004-03-15T02:37:44","slug":"iframe-%ed%81%ac%ea%b8%b0%ec%a1%b0%ec%a0%88-be-more-dynamic","status":"publish","type":"post","link":"https:\/\/jblove.net\/?p=1098","title":{"rendered":"iframe \ud06c\uae30\uc870\uc808 &#8211; be more dynamic"},"content":{"rendered":"<p>\n http:\/\/example.debugs.co.kr\/html\/example\/iframeheight\/frame.html<br \/>\n http:\/\/example.debugs.co.kr\/html\/example\/iframeheight\/content.html<\/p>\n<p>\uc7ac\ubbf8\ub09c \ub0b4\uc6a9\uc778\uac70\uac19\uc544 \uc800\ub3c4\ud55c\ubc88 \uc62c\ub824\ubd05\ub2c8\ub2e4.<br \/>\nie 5.0 \uc774\uc0c1\ubd80\ud130 \uc81c\uacf5\ub418\uae30 \uc2dc\uc791\ud55c css\uc9c0\uc2dc\uc790 expression \ub610\ub294 setExpression \uba54\uc18c\ub4dc\ub97c \uc774\uc6a9\ud558\uba74 \uc880\ub354 \uc2ec\ud50c\ud558\uac8c, \ub3d9\uc801\uc73c\ub85c \ubcc0\ud654\ub97c \uac10\uc9c0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<p>\uc608\uc81c\ub97c \ubcf4\uc2dc\ub824\uba74 \ub9c1\ud06c#1\uc744 \ud074\ub9ad\ud574\ubcf4\uc138\uc694<br \/>\nsetTimeout \uc5c6\uc774\ub3c4 \ub0b4\uc6a9\uc758 \ubcc0\ud654\uac00 \uc989\uac01 \ubc18\uc601\ub418\ub294\uac83\uc744 \uc54c \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<p>expression \uc744 \uc774\uc6a9\ud574\uc11c \ub85c\uadf8\uc778\ubc15\uc2a4 \ucc98\ub9ac\ub098 \uac8c\uc2dc\ud310 \uc785\ub825\ud56d\ubaa9\uac19\uc740 \uc880\ub354 \uc7ac\ubbf8\ub09c \ubd80\ubd84\uc5d0 \uc751\uc6a9\uc774 \uac00\ub2a5\ud55c\ub370.. \uadf8 \ubd80\ubd84\uc740 \ub098\uc911\uc5d0 \uc2dc\uac04\uc774 \ub098\uba74 \uc608\uc81c\uc640 \ud568\uaed8 \uc18c\uac1c\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4 : )<\/p>\n<p>[\uc18c\uc2a4: frame.html]<br \/>\n<script><br \/>\n        function syncHeight(el) {<br \/>\n                el = typeof el == 'string' ? document.getElementById(el) : el;<br \/>\n                el.setExpression('height','contentWindow.document.body.scrollHeight+5');<br \/>\n        }<br \/>\n<\/script><br \/>\n<iframe name=\"test\" id=\"test\" src=\"content.html\" onLoad=\"syncHeight(this)\"><\/iframe><br \/>\n[\/\uc18c\uc2a4]<\/p>\n<p>[\uc18c\uc2a4:content.html]<br \/>\n&#8230;<br \/>\n\uc774\uac83\uc740 iframe \ub0b4\uc6a9\uc785\ub2c8\ub2e4.<\/p>\n<p>\uc774\uac83\uc740 iframe \ub0b4\uc6a9\uc785\ub2c8\ub2e4.<\/p>\n<p>\uc774\uac83\uc740 iframe \ub0b4\uc6a9\uc785\ub2c8\ub2e4.<\/p>\n<p>\uc774\uac83\uc740 iframe \ub0b4\uc6a9\uc785\ub2c8\ub2e4.<\/p>\n<p><button onClick=\"this.outerHTML='\uc774\uac83\uc740 \ucd94\uac00\ub41c\ub0b4\uc6a9\uc785\ub2c8\ub2e4<br \/>&#8216;+this.outerHTML&#8221;>\ub204\ub974\uba74 \ub0b4\uc6a9\uc774 \ucd94\uac00\ub429\ub2c8\ub2e4<\/button><br \/>\n[\/\uc18c\uc2a4]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>http:\/\/example.debugs.co.kr\/html\/example\/iframeheight\/frame.html http:\/\/example.debugs.co.kr\/html\/example\/iframeheight\/content.html \uc7ac\ubbf8\ub09c \ub0b4\uc6a9\uc778\uac70\uac19\uc544 \uc800\ub3c4\ud55c\ubc88 \uc62c\ub824\ubd05\ub2c8\ub2e4. ie 5.0 \uc774\uc0c1\ubd80\ud130 \uc81c\uacf5\ub418\uae30 \uc2dc\uc791\ud55c css\uc9c0\uc2dc\uc790 expression \ub610\ub294 setExpression \uba54\uc18c\ub4dc\ub97c \uc774\uc6a9\ud558\uba74 \uc880\ub354 \uc2ec\ud50c\ud558\uac8c, \ub3d9\uc801\uc73c\ub85c \ubcc0\ud654\ub97c \uac10\uc9c0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc608\uc81c\ub97c \ubcf4\uc2dc\ub824\uba74 \ub9c1\ud06c#1\uc744 \ud074\ub9ad\ud574\ubcf4\uc138\uc694 setTimeout \uc5c6\uc774\ub3c4 \ub0b4\uc6a9\uc758 \ubcc0\ud654\uac00 \uc989\uac01 \ubc18\uc601\ub418\ub294\uac83\uc744 \uc54c \uc218 \uc788\uc2b5\ub2c8\ub2e4. expression \uc744 \uc774\uc6a9\ud574\uc11c \ub85c\uadf8\uc778\ubc15\uc2a4 \ucc98\ub9ac\ub098 \uac8c\uc2dc\ud310 \uc785\ub825\ud56d\ubaa9\uac19\uc740 \uc880\ub354 \uc7ac\ubbf8\ub09c \ubd80\ubd84\uc5d0 \uc751\uc6a9\uc774 \uac00\ub2a5\ud55c\ub370.. \uadf8 \ubd80\ubd84\uc740 \ub098\uc911\uc5d0 \uc2dc\uac04\uc774 \ub098\uba74 \uc608\uc81c\uc640 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[51],"tags":[],"class_list":["post-1098","post","type-post","status-publish","format-standard","hentry","category-papa-php"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/jblove.net\/index.php?rest_route=\/wp\/v2\/posts\/1098","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jblove.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jblove.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jblove.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jblove.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1098"}],"version-history":[{"count":0,"href":"https:\/\/jblove.net\/index.php?rest_route=\/wp\/v2\/posts\/1098\/revisions"}],"wp:attachment":[{"href":"https:\/\/jblove.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1098"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jblove.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1098"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jblove.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1098"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}