<head>
<script language="javascript">
<!--
var hideBuf;
function hideBeforePrint() {
hideBuf = document.body.innerHTML;
document.body.innerHTML = '';
}
function showAfterPrint() {
document.body.innerHTML = hideBuf;
}
window.onbeforeprint = hideBeforePrint;
window.onafterprint = showAfterPrint;
//-->
</script>
</head>
<script language="javascript">
<!--
var hideBuf;
function hideBeforePrint() {
hideBuf = document.body.innerHTML;
document.body.innerHTML = '';
}
function showAfterPrint() {
document.body.innerHTML = hideBuf;
}
window.onbeforeprint = hideBeforePrint;
window.onafterprint = showAfterPrint;
//-->
</script>
</head>
'태그자료실' 카테고리의 다른 글
Applying styles and colors (0) | 2015.05.05 |
---|---|
php에서 이미지 파일을 랜덤하게 불러오기 (0) | 2015.02.16 |
등록된 회원인지 체크하는 소스입니다 (0) | 2014.01.03 |
웹페이지에서 FTP 접속을 (0) | 2014.01.03 |
지정 경로로 되돌아가기 (0) | 2014.01.03 |
반드시 대문으로 들어오게 하기 (0) | 2014.01.03 |
오른마우스,ALT키,CTRL키, Shift키는 사용할 수 없습니다. (0) | 2014.01.03 |
오른 마우스, 키보드 죄다 사용못하게 만들기 (0) | 2014.01.03 |
댓글