|
|
|
16년 전
|
조회 1,674
|
|
|
|
16년 전
|
조회 1,155
|
|
|
|
16년 전
|
조회 1,152
|
|
|
|
16년 전
|
조회 1,207
|
|
|
|
16년 전
|
조회 1,194
|
|
|
|
16년 전
|
조회 1,095
|
|
|
|
16년 전
|
조회 1,187
|
|
|
|
16년 전
|
조회 1,153
|
|
|
|
17년 전
|
조회 1,233
|
|
|
|
17년 전
|
조회 1,098
|
|
|
|
17년 전
|
조회 1,160
|
|
|
|
17년 전
|
조회 1,231
|
|
|
|
17년 전
|
조회 1,218
|
|
|
|
17년 전
|
조회 1,197
|
|
|
|
17년 전
|
조회 2,374
|
|
|
|
17년 전
|
조회 1,869
|
|
|
|
17년 전
|
조회 1,160
|
|
|
|
17년 전
|
조회 1,264
|
|
|
|
17년 전
|
조회 1,165
|
|
|
|
17년 전
|
조회 1,795
|
|
|
|
17년 전
|
조회 1,245
|
|
|
|
17년 전
|
조회 5,536
|
|
|
|
17년 전
|
조회 1,231
|
|
|
|
17년 전
|
조회 1,136
|
|
|
|
17년 전
|
조회 1,268
|
|
|
|
17년 전
|
조회 1,170
|
|
|
|
17년 전
|
조회 1,115
|
|
|
|
17년 전
|
조회 1,275
|
|
|
|
17년 전
|
조회 1,780
|
|
|
|
17년 전
|
조회 1,162
|
댓글 4개
워낙 폐쇄적인 개이버라... ㅡ.ㅡ;;
뭐...
여기 가서 보세요..
http://cafe.daum.net/jaeilzozo/5koA/316?docid=LvJ5|5koA|316|20060922121959&q=%BE%C6%C0%CC%C7%C1%B7%B9%C0%D3+%C0%DA%B5%BF+%B3%F4%C0%CC&srchid=CCBLvJ5|5koA|316|20060922121959
소스 그냥 붙여 드립니다.
1. 먼저 아이프레임을 적용하려는 문서의 <head> 와 <./head> 사이에...
<script language='xxJavaScript' type='text/xxjavascript'>
<!--
function resizeFrame(iframeObj){
/* 아이프레임에서 읽어들인 페이지의 body */
var innerBody = iframeObj.contentWindow.document.body;
/*
* 특정이벤트 발생시 다시 사이즈 조정!!
* 1. innerBody.xxondbclick = function { resizeFrame(iframeObj, 1);oldEvent; };
* 2. innerBody.xxonmousemove = function { resizeFrame(iframeObj, 1);oldEvent; };
* 3. innerBody.xxonkeydown = function { resizeFrame(iframeObj, 1);oldEvent; };
*/
oldEvent = innerBody.xxonclick;
innerBody.xxonclick = function(){ resizeFrame(iframeObj, 1);oldEvent; };
/* 높이 다시설정 */
var innerHeight = innerBody.scrollHeight + (innerBody.offsetHeight - innerBody.clientHeight);
iframeObj.style.height = innerHeight;
// 넓이 다시설정
var innerWidth = innerBody.scrollWidth + (innerBody.offsetWidth - innerBody.clientWidth);
iframeObj.style.width = innerWidth;
if( !arguments[1] ) /* 특정 이벤트로 인한 호출시 스크롤을 그냥 둔다. */
this.scrollTo(1,1);
}
//-->
</script>
2. 그런 다음... 아이프레임을 적용할 곳에...........
<iframe src="불러올 게시판주소나 문서의 주소" xxonload="resizeFrame(this)" scrolling="no" border="0" frameborder="0"></iframe>