본문 바로가기
반응형

자바스크립트(js)7

Google Calendar API javascript [ insert ] https://developers.google.com/google-apps/calendar/v3/reference/events/insert#examples // Refer to the JavaScript quickstart on how to setup the environment: // https://developers.google.com/google-apps/calendar/quickstart/js // Change the scope to 'https://www.googleapis.com/auth/calendar' and delete any // stored credentials. var event = { 'summary': 'Google I/O 2015', 'l.. 2018. 1. 23.
HTML에서 자바스크립트를 이용한 파라메터 주고받기 HTML에서 자바스크립트를 이용한 파라메터 주고받기 tmp = window.location; tmp = String(tmp).split('?'); //현재창의 주소에서 ?이후의 값을 배열에 담는다. tmp = tmp[1].split('&'); //담긴 값에서 변수별로 분리한다. //확인 및 출력 for(k in tmp){ tmp2 = tmp[k].split('=') eval('var ' + tmp2[0] + '=tmp2[1]'); alert(tmp2[0] + ' ' + tmp2[1]); } 출처 : http://oneshot-textcube.blogspot.kr/2010/01/html%EC%97%90%EC%84%9C-%EC%9E%90%EB%B0%94%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%.. 2015. 12. 3.
MAC주소 얻기 자바스크립트에서 MAC주소 얻기 Active X를 통해 정보를 읽어올 수 있다. version=1,0,0,4 웹페이지에서 클라이언트 컴퓨터의 몇 가지 정보를 구하는 ActiveX 컨트롤입니다. 기능:맥어드레스, 컴퓨터 이름, 워크그룹, 아이피 주소, 드라이브 리스트, CPUVendor, CPUID, HDDID, 윈도우 버전, WSH(Windows Scripting Host) 버전, 파일 버전 등… Method —————————————————————- function GetDriveLetter(): string; function GetDiskVolume(const cDisk: string): string; function FileExists(const FileName: string): WordBool; f.. 2015. 8. 11.
숫자키만 입력하기. === js====================================================================== ... function numCheck(obj) { if (event.keyCode >= 48 && event.keyCode 2015. 5. 18.
테이블 헤더 고정 --------------------------- css ------------------------- style = "left: expression(this.offsetParent.scrollLeft); z-index: 19;" style = "top: expression(this.offsetParent.scrollTop); z-index: 17;" --------------------------------------------------------- z-index : 우선순위번호 expression : 자바스크립트를 CSS에서 사용할 수 있도록 지원하는 명령어 2015. 2. 11.
화면 구성 사이즈 각 화면단 사이즈에 대한 설명 영어긴 하지만 잘 되어 있는듯 하다. http://www.quirksmode.org/mobile/viewports.html 2015. 1. 27.
반응형