|
|
|
16년 전
|
조회 1,644
|
|
|
|
16년 전
|
조회 1,110
|
|
|
|
16년 전
|
조회 1,119
|
|
|
|
16년 전
|
조회 1,163
|
|
|
|
16년 전
|
조회 1,156
|
|
|
|
16년 전
|
조회 1,056
|
|
|
|
16년 전
|
조회 1,146
|
|
|
|
16년 전
|
조회 1,116
|
|
|
|
16년 전
|
조회 1,201
|
|
|
|
16년 전
|
조회 1,069
|
|
|
|
16년 전
|
조회 1,134
|
|
|
|
16년 전
|
조회 1,192
|
|
|
|
16년 전
|
조회 1,176
|
|
|
|
16년 전
|
조회 1,161
|
|
|
|
16년 전
|
조회 2,338
|
|
|
|
16년 전
|
조회 1,842
|
|
|
|
16년 전
|
조회 1,114
|
|
|
|
16년 전
|
조회 1,224
|
|
|
|
16년 전
|
조회 1,125
|
|
|
|
16년 전
|
조회 1,742
|
|
|
|
16년 전
|
조회 1,198
|
|
|
|
16년 전
|
조회 5,500
|
|
|
|
16년 전
|
조회 1,187
|
|
|
|
16년 전
|
조회 1,099
|
|
|
|
16년 전
|
조회 1,206
|
|
|
|
16년 전
|
조회 1,123
|
|
|
|
16년 전
|
조회 1,086
|
|
|
|
16년 전
|
조회 1,235
|
|
|
|
16년 전
|
조회 1,730
|
|
|
|
16년 전
|
조회 1,126
|
댓글 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>