안녕하세여 맨날 질문만 올리는 cecil입니다...
포인트는 없구요
활용팁에서 게시물 프린트하는 게시물을 보고
따라해봤는데요..
글들이 내용이 많아서 인지 두장으로 프린트 되더라구요...
근데 이글들을 축소해서 한페이지에 프린트 하는 방법은 없는건가요
<input type=button value='리스트인쇄' onclick="window.open('print.html','print_win','width=1000,height=400,left=200,status=no,toolbar=no,resizable=no,scrollbars=yes')">
본문에 들어간 스크립트
print.html 소스 입니다.
////////////////////////////////////////////////////////////
<html>
<head>
<link rel="stylesheet" href="../style.css" type="text/css">
</head>
<body leftmargin="0" marginwidth="0" topmargin="0" marginheight="0">
<div id=print_sheet>
</div>
<script language="javascript">
print_sheet.innerHTML = opener.document.getElementById("print_table").innerHTML;
//////////////////////////////////////////////////////////////////////////////////
window.print();
</script>
</body>
</html>
포인트는 없구요
활용팁에서 게시물 프린트하는 게시물을 보고
따라해봤는데요..
글들이 내용이 많아서 인지 두장으로 프린트 되더라구요...
근데 이글들을 축소해서 한페이지에 프린트 하는 방법은 없는건가요
<input type=button value='리스트인쇄' onclick="window.open('print.html','print_win','width=1000,height=400,left=200,status=no,toolbar=no,resizable=no,scrollbars=yes')">
본문에 들어간 스크립트
print.html 소스 입니다.
////////////////////////////////////////////////////////////
<html>
<head>
<link rel="stylesheet" href="../style.css" type="text/css">
</head>
<body leftmargin="0" marginwidth="0" topmargin="0" marginheight="0">
<div id=print_sheet>
</div>
<script language="javascript">
print_sheet.innerHTML = opener.document.getElementById("print_table").innerHTML;
//////////////////////////////////////////////////////////////////////////////////
window.print();
</script>
</body>
</html>
게시글 목록
| 번호 | 제목 |
|---|---|
| 284348 | |
| 284336 | |
| 284333 | |
| 284332 | |
| 284320 | |
| 284318 | |
| 284316 | |
| 284313 | |
| 284307 | |
| 284306 | |
| 284303 | |
| 284298 | |
| 284296 | |
| 284290 | |
| 284286 | |
| 284280 | |
| 284277 | |
| 284272 | |
| 284261 | |
| 284259 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기