일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- tomcat
- PLSQL
- PHP
- Ajax
- MySQL
- 전자정부프레임워크
- jsr 296
- appspresso
- GPS
- 선택적조인
- JDOM
- Struts
- WebLogic
- swingx
- Eclipse
- Google Map
- oracle
- 가우스
- rowspan
- jQuery
- Spring
- phonegap
- node.js
- ibsheet
- MFC
- sencha touch
- JSON
- iBATIS
- Android
- dock
- Today
- Total
목록Developement/Web (137)
Where The Streets Have No Name
http://www.iezn.com/test/ie/index.php
Date 객체 Date 객체의 메소드 메 소 드 설 명 getDate() getUTCDate() setDate() setUTCDate() Date 객체의 날짜를 설정하거나 리턴 getDay() getUTCDay() Date 객체의 한 주의 날짜를 설정하거나 리턴 getHours() getUTCHours() setHours() setUTCHours() Date 객체의 시간를 설정하거나 리턴 getMilliseconds() getUTCMilliseconds() setMilliseconds() setUTCMilliseconds() Date 객체의 밀리초 값을 설정하거나 리턴 getMinutes() getUTCMinutes() setMinutes() setUTCMinutes() Date 객체의 분을 설정하거나 ..
event 객체 event 객체의 프로퍼티프로퍼티 브라우저 설 명 dataNDragDrop 이벤트로 인해 드롭된 객체의 URL이 들어있는 스트링 배열height, widthN윈도우나 프레인의 길이와 너비(픽셀표시)pageX, pageYN픽셀로 나타낸 커서의 수평/수직 위치(페이지에서의 상대적위치)screenX, screenYN, I.E픽셀로 나타낸 커서의 수평/수직 위치(화면에서의 상대적 위치)layerX, layerYN픽셀로 나타낸 커서의 수평/수직 위치, 이벤트가 발생한 레이어에 대한 상대적 위치. Resize 이벤트와 함께 사용하면 layerX와 layerY가 이벤트가 타겟으로 하는 객체의 길이와 너비 지정clientX와 clientYI.E픽셀로 나타낸 커서의 수평/수직 위치, 이벤트가 발생한 웹페..
location 객체 윈도우에 로드되어 있는 현재 문서의 URL에 액세스하거나 새로운 문서를 로드할 때 사용 location 객체의 프로퍼티 프로퍼티 설 명 hash URL의 앵커 부분(존재하는 경우)host URL의 hostname:port 부분 hostname URL의 host부분href 전체 URL pathname URL의 경로명 부분 port URL의 포트 부분 protocol URL의 프로토콜 부분 search URL의 쿼리 스트링 부분 location 객체의 메소드 reload() : 윈도우의 현재 문서를 브라우저의 Reload 버튼에서 사용하는 정책에 따라 다시 로드 Every time : 문서는 매번 서버에서 다시 로드 Once per session : 서버의 문서의 날짜가 캐시에 저장되어..
document 객체 JavaScript 에서 아주 중요한 객체로, 이 객체를 사용하면 로드될 문서를 업데이트하고 로드된 문서 안에 있는 HTML 요소에 액세스할 수 있다. 프로퍼티 설 명 alinkColor 태그의 alink 속성의 값 지정 anchor 문서에 들어 있는 배열을 참조하는 객체 anchors 문서에 들어 있는 모든 앵커의 배열 applet 문서에 들어 있는 애플릿을 참조하는 객체 applets 문서에 들어 있는 모든 애플릿의 배열 area 문서 안의 이미지맵 영역을 참조하는 객체 bgColor 태그의 bgColor 속성의 값 식별 cookie 쿠키의 값 식별 domain 문서가 로드되는 서버의 도메인 이름 식별 embeds 문서안의 모든 플러그인의 배열 fgColor 태그의 text 속성..
객 체 용 도 window 객체 브라우저 윈도우나 윈도우 안에 있는 프레임에 액세스할 때 사용한다. 프로퍼티와 메소드를 참조할 때, window 객체가 존재하는 경우에는 "window."접두사를 붙일 필요가 없다 document 객체 현재 윈도우에 로드되어 있는 문서에 액세스할 때 사용한다. document 객체는 컨텐트를 제공하는 HTML 문서, 즉 HEAD와 BODY 태그가 있는 문서를 의미한다. location 객체 URL을 나타낼 때 사용한다. 이 객체는 URL객체를 만들거나 URL의 일부분에 액세스하거나 기존의 URL을 수정할 때 사용할 수 있다. history 객체 한 윈도우 안에서 액세스된 URL의 히스토리를 유지할 때 사용 frame 객체, frames 배열 HTML 프레임에 액세스할 때 ..
객체 유형 정의 프로퍼티 : 객체에 들어 있는 데이터 값에 액세스할 때 사용. 메소드 : 객체에 어떤 작업을 할 때 사용하는 함수. 객체 유형 만들기 사용자가 직접 객체 유형을 정의하고 특정 객체 인스턴스를 만들 수 있 는데 이렇게 만들려면 객체 유형의 특정 인스턴스를 만들 때 사용되는 함수를 정의하기만 하면 된다. 본래 이러한 생성자 함수는 다음과 같은 일을 한다. 객체 유형의 프로퍼티에 값을 할당한다. 객체 유형의 메소드로 사용할 수 있는 다른 함수를 지정한다. 객체 사용 예 table 객체의 정의 (table.js) function table_getValue(row,col){ return this.data[row* this.columns+col ]; } function table_setValue(r..
이벤트 정의와 사용 이벤트 : 사용자가 웹페이지나 기타 다른 브라우저에 수행한 작업으로 인한 결과 이벤트 처리 : 이벤트로 인해 수행되는 프로세스 이벤트 핸들러 : 프로세스를 수행하는 코드 사용 예 : 사용자가 링크 위로 마우스를 갖다 대면 다이얼로그 박스를 표시한다거나, 폼에 입력한 데이터를 검증한다거나, 버튼을 클릭할 때 애니메이션을 나타내거나, Java 애플릿과 브라우저 플러그인이 상호작용을 하도록 한다. JavaScript가 정의한 이벤트HTML 태그 JavaScript 이벤트 설명 다양 mouseMove 마우스 이동 .. Click 마우스로 링크를 클릭 dbClick 마우스를 링크위에서 더블클릭 mouseDown 마우스 버튼을 누름 mouseUp 마우스 버튼을 놓음 mouseOver 마우스를 링..
HTML에 JavaScript 삽입 HTML에 JavaScript 코드 파일 삽입 변수의 대소문자 구분 변수에 포함된 데이터의 형을 지정하지 않고, JavaScript 인터프리터가 변수에 포함된 데이터 형을 추적하고 변환. JavaScript 데이터 형 숫 자 형 : 정수와 부동 소수 BOOLEAN : true, false STRING : 작은 따옴표나 큰 따옴표에 들어가 있는 값으로, 특수문자 포맷 사용시에는 ''와 함께 사용. null : 아무런 값도 없는 것으로, 변수를 초기화 시키거나 어떤 값이나 이벤트를 지울 때 사용됨 undefined : 변수만 만들고, 값을 할당하지 않은 상태 유형간의 변환 스트링 피연산자가 비스트링 연산자와 사용된 경우 다른 연산자를 모두 스트링으로 변환 BOOLEAN값은..
http://www.mungchung.com/mianamssi/zboard/view.php?id=lecture&no=13
테이블객체 모음(dhtml) http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/mshtml/reference/ifaces/table/table.asp테이블 객체의 속성들 자세한 내용은 상위 페이지를 참조하여 사용할 수 잇습니다. ==================== align background bgColor border borderColor borderColorDark borderColorLight caption cellPadding cellSpacing cols createCaption createTFoot createTHead dataPageSize deleteCaption deleteRow //행삭제 deleteTFoot de..
SP2 출시로 인해 윈도우 사용자들은 보안과 설정에 대한 선택권이 보다 넒어졌다. 그러나 기본적인 보안 기능을 강화됨에 따라 웹사이트 개발자들에게는 그 동안 별 문제 없이 사용되던 웹사이트의 기능들이 제한될 수 있다는 점을 유념해야 한다. 윈도우 XP 서비스팩2는 8월 11일 RTM 버전이 출시 되었고, 9월 2일 윈도우 업데이트를 통해 모든 윈도우 XP 사용자에게 배포 되게 된다. 또한, 10월 1일부터는 모든 윈도우 XP를 탑재하는 PC에 기본 탑재돼 출시 된다. 우리 나라가 윈도우 XP 사용자가 해외에 비해 상대적으로 많고, 주요 제한 기능들이 팝업과 액티브X 컨트롤 등 우리 나라에서 큰 거부감 없이 사용되던 기술이어서 갑작스런 변경에 혼란이 야기될 가능성이 있다. 이 글에서는 XP 서비스팩2로 인..
http://blog.naver.com/nhsbs/120011934503
/* --- 숫자만 입력 가능 (onKeyDown 이벤트) --- */function onlyNumberInput(){var code = window.event.keyCode;if ((code > 34 && code 47 && code 95 && code {window.event.returnValue = true;return;}window.event.returnValue = false;}/* --- 숫자만 리턴 --- */function onlyNum(txt){var tmp = parseInt(txt.value,10); if( isNaN(tmp) ){ alert('숫자가 아닙니다. 다시 입력하세요'); txt.value = ""; txt.focus();}else{ txt.value = tmp;} re..
/* --- 숫자만 입력 가능 (onKeyDown 이벤트) --- */function onlyNumberInput(){var code = window.event.keyCode; if ((code > 34 && code 47 && code 95 && code { window.event.returnValue = true; return;}window.event.returnValue = false;}/* --- 숫자만 리턴 --- */function onlyNum(val){var num = val;var tmp = ""; for (var i = 0; i { if (num.charAt(i) >= 0 && num.charAt(i) tmp = tmp + num.charAt(i); else continue;}..
opner 페이지에서---------------------------------------------- OpenWin function은 세개의 인자를 가집니다. 하나는 주소이고 가로와 세로의 길이를 가집니다. 이때 스크롤을 안생기게 하고 싶다면 scrollbars=no로 설정하세요 새창이 뜨는 위치를 조절하고 싶으시다면 top=150,left=250 요부분을 조절하세요 ------------------------------------------------------------ 새창에서---------------------------------------------------- 아래 보면 이런 저런 지져분합니다. 아래의 예는 가로,세로가 둘중 하나는 사이즈가 100인거 가로,세로가 둘중 하나는 사이즈가 2..
http://www.okjsp.pe.kr/bbs?act=VIEW&seq=26485&bbs=bbs4&keyfield=content&keyword=&pg=68
function CheckStrLen(maxlen,field) { var temp; //들어오는 문자값... var msglen; msglen = maxlen*2; var value= field.value; l = field.value.length; tmpstr = "" ; if (l == 0) { value = maxlen*2; } else { for(k=0;k 4) msglen -= 2; else msglen--; if(msglen < 0) { alert("총 영문 "+(maxlen*2)+"자 한글 " + maxlen + "자 까지 보내실수 있습니다."); field.value= tmpstr; break; } else { tmpstr += temp; } } } } =========실제 페이지 사용예 ..