위토즈 - 개발자프로그램판매공간

정보공유

[JQUERY] 원하는 영역 프린트

 

<script src="printThis.js"></script> 

<div id="targetPrint"> 

</div>

 

<script type="text/javascript">

<!--

$(document).ready(function() {

    $("#btnPrint").click(function() {

        $("#targetPrint").printThis({

            debug: false,               // show the iframe for debugging

            importCSS: true,            // import page CSS

            importStyle: false,         // import style tags

            printContainer: true,       // grab outer container as well as the contents of the selector

            pageTitle: "",              // add title to print page

            removeInline: false,        // remove all inline styles from print elements

            printDelay: 333,            // variable print delay; depending on complexity a higher value may be necessary

            header: null,               // prefix to html

            footer: null,               // postfix to html

            base: false ,               // preserve the BASE tag, or accept a string for the URL

            formValues: true,           // preserve input/form values

            canvas: false,              // copy canvas elements (experimental)

            doctypeString: "...",       // enter a different doctype for older markup

            removeScripts: false        // remove script tags from print content

        }); 

 

    });

});

//-->

</script>

 

첨부파일

정보공유
Total 436건 1 페이지
번호 제목 글쓴이 날짜 조회
436 입금된 주문도 준비, 배송전까지는 취소할 수 있도록 하는 방법 위토즈쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 03-10 198
435 CSS를 사용하여 4x4 형태의 갤러리 디자인 그리드 위토즈쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 03-05 226
434 magnificPopup css 를 추가하여 popup 마다 다른 사이즈 로 띄우기. 위토즈쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 01-16 804
433 magnificPopup 조건이 맞지 않으면 popup 띄우지 않기. 위토즈쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 01-12 772
432 magnificPopup iframe 으로 form submit 하기 위토즈쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 01-12 895
431 mysql 사용자 함수 생성 위토즈쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 01-09 657
430 html 로 된 svg 태그를 png 파일로 만들기. 위토즈쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 01-08 835
429 prepare bind_param 쿼리구분 select * 위토즈쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 08-14 1522
428 javascript 플랫폼 디바이스 확인 함수 위토즈쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 07-13 1594
427 stmt 등록 위토즈쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 06-14 1873
426 prepare 함수 위토즈쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 05-16 1884
425 magnificPopup 으로 창을 호출 후 날짜 입력박스에 datepicker 실행되지 않는경우 위토즈쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 04-13 1828
424 magnificPopup 파라미터 변수 값 ajax 타입으로 전송 방법 위토즈쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 03-31 1897
423 jquery 로 text 필드와 file 첨부를 동시에. 위토즈쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 03-09 2016
422 파일 첨부 를 이미지버튼으로 대체한경우 첨부한 파일명 표시하기. 위토즈쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 03-09 1985