<script>
function doResize()
{
container.height = myframe.document.body.scrollHeight; // 세로크기를 자동으로 조정해줍니다.
container.width = myframe.document.body.scrollWidth; // 이부분은 제거하셔도 상관없습니다.
}
</script>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="container"><iframe src="당신의 주소" name="myframe" width="100%" height="100%" marginwidth="0" marginheight="0" frameborder="no" onload="doResize()"></iframe></td>
</tr>
</table>
이렇게하면 머리아프게 헤더니 푸터니할필요없이 간단하게아이프레임으로 노프레임사이트구성이가능합니다.
자동으로 세로크기조정이되니까요~
웹 프로그래밍
2013.03.15 05:08
초간단 iframe으로 노프레임(원프레임)사이트만들기!
조회 수 4733 추천 수 0 댓글 0
공부 게시판
공부에 도움되는 글을 올려주세요.
-
[공지] 공부 게시판 입니다.
-
WIndows Application의 실행 속도 측정
-
메모리 부족 현상 (allowed memory size of 134217728 bytes..)
-
Guzzle - cURL error 60: SSL certificate problem: unable to get local issuer certificate 문제 해결
-
XE 캐시파일 재성생후 404 Oops, Sorry. Page is not found! 나올때
-
[Apple] 엔터프라이즈 계정신청 (Enterprise Program)
-
XE - " Fatal error: Class 'Object' not found in " / class 낫파운드 오류
-
[MSA] MSA란 무엇인가? 개념 이해하기
-
iOS 앱 개발을 위한 인증서 생성 및 관리
-
[ iOS ] 앱 스토어 개인, 회사, 엔터프라이즈 차이점
-
PHP 파서 이해하기 (<?php의 php를 생략하고 간단히 <? 태그 와 ?> 태그를 사용하는 방법)
-
SVN의 cleanup 에러시 해결방법
-
[오류해결] svn cleanup failed-previous operation has not finished; run cleanup if it was interrupted
-
TortoiseSVN 계정변경
-
SVN passwd 설정 : 계정 (users/passwd)
-
XE 비회원 글쓰기 항목 지우기
-
메모리 영역 (code, data, stack, heap)
-
[SVN] Subversion 명령들
-
IBM JDK 1.6 에서 Spring 2.5.2를 사용할 때 GenericTypeResolver 에서 NullPointerException이 발생하는 문제
-
오른쪽 마우스 금지 소스 / 드래그 금지 소스
-
[전자정부 표준프레임워크] 톰캣(Tomcat) 설치하기