일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- lsusb
- replace
- RTL88x2BU
- Getrows
- ajax
- SQL Injection
- readonly
- 크로스 컴파일
- 커널
- jquery 레이어
- include
- FileSystemObject
- println
- form
- 무선랜카드
- javascript
- XMLHTTP
- jQuery
- submit
- DS718+
- 시놀로지
- synology
- ASP
- AC1300
- PHP GCM
- utf-8
- Injection
- 따라다니는 배너
- euc-kr
- disabled
- Today
- Total
목록JavaScript (12)
아는 것이 좋은 것이다.
즐겨찾기
function pluszero(n, length) { var zero = ''; n = n.toString(); if (n.length < length) { for (var i = 0; i < length - n.length; i++) zero += '0'; } return zero + n; } // pluszero("1", "3") 출력 - 103
function abspos(){ // 클릭 이벤트가 발생한 바로 그 위치 this.x = event.screenX - window.screenLeft - document.body.clientLeft + document.body.scrollLeft - event.offsetX; this.y = event.screenY - window.screenTop - document.body.clientTop + document.body.scrollTop - event.offsetY; return this; this.x = event.screenX - window.screenLeft - document.body.leftMargin + document.body.scrollLeft - event.offsetX; this..
//alert(window.innerWidth);//alert(document.documentElement.clientWidth);var w = 0, h = 0;if (typeof (window.innerWidth) == 'number') { //Chrome w = window.innerWidth / 2; //h = window.innerHeight / 2;} else if (document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)) { w = document.documentElement.clientWidth / 2; //h = documen..
$("document").ready(function() { $(window).trigger("orientationchange"); }); $(window).bind("orientationchange", function(e) { var orientation = window.orientation; if (orientation == 90 || orientation == -90) { alert("landscape"); } else { alert("portrait"); }..
번호 제목 작성자 등록일 조회수 6 제목1 작성자1 2014.05.15 526 상세내용1 5 제목2 작성자2 2014.05.15 526 상세내용2 4 제목3 작성자3 2014.05.15 526 상세내용3 3 제목4 작성자4 2014.05.15 526 상세내용4 2 제목5 작성자5 2014.05.15 526 상세내용5
abcd
BLUEBfunction img_resize() { // content 아이디 내의 모든 이미지 크기가 maxsize 보다 크면 maxsize로 리사이즈. var maxsize = 150; var content = document.getElementById("content"); var img = content.getElementsByTagName("img"); for(i=0; i maxsize') ) { eval!('img[' + i + '].width = maxsize') ; } }}window.onload = img_resize; function img_resize() { ..
입력내용 레이어 보이기