Jquery div 특정영역 프린트 및 인쇄하기
2015. 3. 24. 16:22ㆍIT/Jquery Plugin/Tip
소스사이트 : https://github.com/jasonday/printThis/blob/master/printThis.js
Jquery div 특정영역 프린트 및 인쇄하기
특정영역 프린트 해주는 Jquery 플러인 이다.
상단 소스사이트에 최신버젼 파일 다운받을 수 있다.
사용방법은 아래에....
Myselector 라는 아이디값의 div 영역을 프린트 해주는것이당~
기본사용
$("#mySelector").printThis();
옵션사용
$("#mySelector").printThis({
* debug: false, * show the iframe for debugging
* importCSS: true, * import page CSS
* printContainer: true, * grab outer container as well as the contents of the selector
* loadCSS: "path/to/my.css", * path to additional css file
* pageTitle: "", * add title to print page
* removeInline: false * remove all inline styles from print elements
* });
'IT > Jquery Plugin/Tip' 카테고리의 다른 글
Jquery, placeholder ie7에서 사용 가능하도록.... (0) | 2015.03.24 |
---|---|
이메일 2개 나눠서 입력받고 나중에 Jquery로 input text 1개에다가 값 설정 및 넣기 - 그누보드 게시판 메일 입력시 (1) | 2015.03.24 |
핸드폰 3개 나눠서 입력받고 나중에 Jquery로 input text 1개에다가 값 설정 및 넣기 (0) | 2015.03.24 |
Jquery $.cookie 이용법 (0) | 2015.03.24 |
jquery image change mouseover / mouseout (0) | 2015.03.24 |