web(53)
-
배열과 객체의 사용- 07.html
배열과 객체의 사용 객체를 최소로 만들고, 배열의 객체에 접근해서 동적으로 배열 요소 추가 학습내용 자바에는 없는 형태 패턴이 바뀔 경우 소스 코드 //빈 객체 생성 var students = []; //객체를 배열에 저장 students.push( { name:'홍길동', korean:90, math:70, english:89, science:80 } ); students.push( { name:'이순신', korean:95, math:79, english:78, science:87 } ); students.push( { name:'유관순', korean:100, math:96, english:67, science:67 } ); students.push( { name:'일지매', korean:89, m..
-
Web Server (웹 서버) 점유율, 2014 년 4월 기준
Web server developers: Market share of all sites Web server developers: Market share of active sites Web server developers: Market share of the top million busiest sites http://news.netcraft.com/archives/2014/04/02/april-2014-web-server-survey.html
-
속성 제거- 06.html
속성 제거 객체의 프로퍼티를 delete연산자를 이용해 즉시 제거할 수 있습니다. delete연산자는 객체의 프로퍼티를 삭제할 뿐, 객체 자체를 삭제하지는 못합니다. delete(student.취미); 소스 코드 //빈 객체 생성 var student = {}; //객체에 속성 추가 student.name = '홍길동'; student.hobby = '피아노'; student.specialty = '자바'; student.willjob = '프로그래머'; document.write(' ==================================== '); //객체의 메소드 추가 student.toString = function(){ //속성의 명세 호출하기 var msg = ''; for(var key..
-
안드로이드 뷰(View) 클래스
View 안드로이드 UI의 기본적인 구축 요소. 안드로이드 SDK의 거의 모든 위젯과 레이아웃 클래스의 기반 클래스 View 클래스의 기본 메소드와 용도 메서드용도setBackgroundColor(int color)백그라운드 색상 설정setBackgroundDrawable(Drawable d)백그라운드 이미지 설정setMinimumHeight(int minHeight)최소 높이 설정setMinimumWidth(int minWidth)최소 너비 설정setPadding(int left, int right, int top, int bottom)여백 사이즈 설정setClickable(boolean c)엘리먼트의 클릭 가능 여부 체크setFocusable(boolean f)엘리먼트의 포커스 가능 여부 체크setO..
-
[WebStorm] JetBrains Add-on for Firefox 설치
WebStorm JetBrains Add-on for Firefox 설치 파이어폭스 브라우저에서 디버깅을 수행할 경우 Run > Edit Configurations...실행해 Browser를 FireFox으로 설정합니다. Apply > OK