|
|
|
17년 전
|
조회 775
|
|
|
|
17년 전
|
조회 1,636
|
|
|
|
17년 전
|
조회 961
|
|
|
|
17년 전
|
조회 1,028
|
|
|
|
17년 전
|
조회 837
|
|
|
|
17년 전
|
조회 1,741
|
|
|
|
17년 전
|
조회 1,567
|
|
|
|
17년 전
|
조회 986
|
|
|
|
17년 전
|
조회 797
|
|
|
|
17년 전
|
조회 744
|
|
|
|
17년 전
|
조회 968
|
|
|
|
17년 전
|
조회 736
|
|
|
|
17년 전
|
조회 835
|
|
|
|
17년 전
|
조회 1,643
|
|
|
|
17년 전
|
조회 980
|
|
|
|
17년 전
|
조회 993
|
|
|
|
17년 전
|
조회 836
|
|
|
|
17년 전
|
조회 1,490
|
|
|
|
17년 전
|
조회 1,117
|
|
|
|
17년 전
|
조회 985
|
댓글 1개
--상단에 위치 -----------------------------
<script language="JavaScript">
var initBody
function beforePrint(){
initBody = document.body.innerHTML;
document.body.innerHTML = idPrint.innerHTML;
}
function afterPrint(){
document.body.innerHTML = initBody;
}
function printArea() {
window.print();
}
window.onbeforeprint = beforePrint;
window.onafterprint = afterPrint;
</script>
----------------------------------------------------
<div id="idPrint">
프린트 할부분을 div id=inprint 로 감싸줍니다.
</div>
-----------------------------------------------------
하단에 프린트 버튼
<input type="button" value="출력하기" onclick="printArea();">