일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
- select
- 탐욕법
- java
- 프로그래머스
- 알고리즘
- Spring
- BFS
- mariaDB
- DP
- Effective Java
- 피보나치
- 깊이우선탐색
- IntelliJ
- db
- DFS
- SQL
- 이펙티브자바
- springboot
- 정렬
- 우선순위큐
- 다이나믹프로그래밍
- mybatis
- Database
- 코테
- 데이터베이스
- join
- 너비우선탐색
- 백준
- Greedy
- 그리디알고리즘
- Today
- Total
목록Web/JSP & JQuery (8)
땀두 블로그
jqGrid를 이용할 때 특정 화면에 맞추어서 auto width를 적용해 두었거나 직접 width를 적용해두고 해당 화면의 크기를 변경하는 경우, jqGrid의 크기는 그대로여서 화면이 깨지는 경우가 발생한다. 이 경우 아래와 같은 스크립트를 이용하여 resize를 해줄 수 있다. $(window).on('resize.jqGrid', function () { jQuery("#jqGrid table Id").jqGrid( 'setGridWidth', $("#jqGrid를 감싸는 Div Id").width()) })
jQuery 소개 크로스 브라우징을 구현하기 위한 자바스크립트 라이브러리 모든 브라우저에서 동작하는 클라이언트 사이드의 자바스크립트 라이브러리 현재 웹 상에서 flash를 대체할 수 있는 RIA을 구현해주는 기술 장점 크로스 브라우징 구현 쉽고 빠르게 작성 가능 적게입력하고 최대의 효과를 가지도록(write less, do more) 사용법이 간단하고, 직관적이고 성능이 뛰어남 DOM과 관련된 처리, 이벤트 연결, Ajax개발을 쉽게 가 능 js, DOM, html/css에 대한 공부가 선행되어야 함 jQuery library 구성요소 html/dom maniulation css manipulation html event methods effect and animations ajax utilities j..
css로 마우스 커서의 모양을 컨트롤 하는 옵션 .alias {cursor: alias;} .all-scroll {cursor: all-scroll;} .auto {cursor: auto;} .cell {cursor: cell;} .context-menu {cursor: context-menu;} .col-resize {cursor: col-resize;} .copy {cursor: copy;} .crosshair {cursor: crosshair;} .default {cursor: default;} .e-resize {cursor: e-resize;} .ew-resize {cursor: ew-resize;} .grab {cursor: grab;} .grabbing {cursor: grabbing;} ...
더 다른 옵션과 설명은 아래 참고 http://raw.githack.com/MrRio/jsPDF/master/docs/index.html Home - Documentation jsPDF Generate PDF files in client-side JavaScript. This is a fork of MrRios' jsPDF modified to work with svg2pdf.js, which converts SVG elements to PDF. Since version 2.0.0 this fork is fully compatible to the original version and comes with a large amoun raw.githack.com
function printHTML() { var W = document.documentElement.clientWidth; if(!W) { W = document.body.clientWidth; } var H = document.documentElement.clientHeight; if(!H) { H = document.body.clientHeight; } var features = "menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=yes,width=" + W + ",height=" + H + ",left=0,top=0"; var PrintPage = window.open("about:blank","pr..