출처 : jQuery select box 관련 api 동적으로 Option 추가 $.each(result.data.list, function(index, data) { try { var row = $('#row_item').clone(); row.appendTo('.uio_text'); // JQuery에서 Select에 추가 var findItem = $("select[name='item_list'] option[value='"+data.tml+"']"); if (data.tml!=undefined && $("select[name='item_list'] option").index(findItem)=0) { $("#lbl_selected_space").attr('class','label').css('co..
출처 : CSS 선택자(Selector)의 종류 및 간단한 효과주기 CSS Selectors Styling elements with a dot (.) in the class name CSS 선택자 Pattern Meaning #id id로 지정된 요소 선택 .class class로 지정된 요소 선택 E E 요소를 선택 E:link 방문하지 않은 E를 선택 E:visited 방문한 E를 선택 E:hover 마우스가 올라가 있는 동안 E를 선택 E:active 마우스 클릭 또는 키보드(enter)가 눌린 동안 E를 선택 E:focus focus가 머물러 있는 동안 E를 선택 E:first-line E 요소의 첫 번째 라인 선택 E:first-letter E 요소의 첫 번째 문자 선택 * 모든 요소 선택 E[..
출처 : [ JQUERY ] SRC 변경하기 [php] json_encode 함수가 없을때 해결 방법 AJAX 심플 예제~ json json_encode Iterate through elements with similar IDs ( wildcard search ) img src 변경 HTML JQuery$("#imgSrc").bind("click", function(){ $("#imgSrc").attr("src", "2.jpg"); }); 속성값 조회alert($("#img_reverse").attr("src")); JQuery AJAX - PHP JSON 연동 json_encode.php (옵션 - PHP엔진에서 json_encode 함수가 지원하지 않는 경우) get_user_info.php (jso..
selectfield{ xtype : 'selectfield', name : 'role', id : 'role', label : '담당업무', useClearIcon : true, options : [ { text : '현장소장', value : '02' }, { text : '디자이너', value : '03' }, { text : '컨설턴트', value : '04' } ] } selectfield - json 이용 job_type.json{"d":[{ "text": "초중고등학생", "value": "초중고등학생" }, { "text": "대학(원)생", "value": "대학(원)생" }, { "text": "사무직", "value": "사무직" }, { "text": "연구/개발직", "valu..
출처 : http://stackoverflow.com/questions/10496912/convert-date-from-json-format-to-other-formats-in-sencha http://stackoverflow.com/questions/7848369/sencha-touch-date-format 소스 Ext.regModel('dataModel', { fields: [ {name: 'id', type: 'int'}, {name: 'vod_id', type: 'int'}, {name: 'comment', type: 'string'}, {name: 'regid', type: 'string'}, {name: 'regdate', type:'date', dateFormat: 'c'} ] }); dat..
Sencha1에서 Carousel에 여러개 등록하고, scrollToCard로 이동해도 2개 이상 이동이 되지 않습니다. 내부적으로 2개 이상 이동시 속도 저하가 있어서 그렇게 해둔것인지는 모르겠지만, override하면 sencha 소스 자체를 수정하지 않고, 전체에 반영되도록 할 수 있습니다. 처음에는 sencha 소스를 수정 했는데, secha가 업그레이드 될 경우 다시 수정해야 되는 번거로움은 사라졌습니다. Ext.override Ext.override(Ext.Carousel, { isCardInRange : function(card) { //return Math.abs(this.getCardIndexOffset(card))
Sencha에서 사용자 정의 이벤트를 만드는 방법을 정리해보았습니다. 객체 선언시 addEvents 메소드로 이벤트를 등록하고, fireEvent 메소드로 이벤트 호출하고, 리스너에서 이벤트를 받아서 처리하면 됩니다. 이벤트 등록this.addEvents('OnLoadImage'); 이벤트를 리스너 등록 listeners: { OnLoadImage: function(panel, index, imgUrl) { //alert('ImageUrl' + src); } } 이미지 번호로 이미지 URL 정보를 얻었을 경우 이벤트 호출 this.fireEvent('OnLoadImage', this, this.getActiveIndex(), imgUrl); 소스Jarvus.mobile.PinchCarousel = Ext..
- Total
- Today
- Yesterday
- Delphi Tip
- Linux
- 송주경
- Spring MVC
- Spring
- 일본여행
- flex
- koba2010
- JavaScript
- oracle
- Java
- Delphi
- sas2009
- 레이싱모델 익스트림 포토 페스티벌
- NDK
- 튜닝쇼 2008
- android
- SAS
- 서울오토살롱
- KOBA
- ble
- 전예희
- BPI-M4
- 동경
- 지스타2007
- ffmpeg
- ubuntu
- MySQL
- Mac
- Xcode
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |