기본 콘텐츠로 건너뛰기

자바스크립트 계좌번호 마스킹 처리

자바스크립트 계좌번호 마스킹 처리 /** * 입력받은 문자열에서 시작 위치부터 종료위치까지 마스킹 처리한다. * @param str * @param chr * @param startPosition * @param endPosition * @returns {String} */ function formatMaskByPostion(str, chr, startPosition, endPosition) { str = $.trim(str); var temp = ""; if ( endPosition > str.length ) { endPosition = str.length; } temp = str.substring(0, startPosition); for ( var i = startPosition; i

Facebook width 100%

http://stackoverflow.com/questions/10862256/how-to-make-facebook-comment-box-width-100 . fb - comments , . fb - comments span , . fb - comments iframe { width : 100 % ! important ; } . fb_iframe_widget , . fb_iframe_widget span , . fb_iframe_widget iframe [ style ] { width : 100 % ! important ; $(window).resize(function(){$('.fb-comments iframe,.fb-comments span:first-child').css({'width':$('#commentboxcontainer').width()});}); .fb_iframe_widget, .fb_iframe_widget > span, .fb_iframe_widget iframe { width: 100% !important; }

Android required design image size

1. Launcher icon LDPI should be 36 x 36. MDPI should be 48 x 48. TVDPI should be 64 x 64. HDPI should be 72 x 72. XHDPI should be 96 x 96. XXHDPI should be 144 x 144. XXXHDPI should be 192 x 192. 2. Splash image Dimensions LDPI: Portrait:  200x320px Landscape:  320x200px MDPI: Portrait:  320x480px Landscape:  480x320px HDPI: Portrait:  480x800px Landscape:  800x480px XHDPI: Portrait:  720px1280px Landscape:  1280x720px XXHDPI: Portrait:  960px1600px Landscape:  1600x960px XXXHDPI: Portrait:  1280px1920px Landscape:  1920x1280px 3. Play Store Intro image 512px512px

android gcm push sample in asp

<%   ' 안드로이드 ASP 푸시 요청   PushServerURL = " https://android.googleapis.com/gcm/send " '  브라우저APIkey   ApplicationAPIKey = "AIzaSyBi0pn1ckaJhRL9kK3mbwsHzk7x0fdE_Z8"   ' regId(받을사람이 지급받은 registration_ids - 여러명일 경우 배열로 받아처리하면 될 듯 최대 1000)   RegId = "APA91bFNkzpbgBJnWkDgyGmU0XsF8ZLMAEhVaAtcbf9po8_i1GoA4JNt4HiUc6xScBMEOoJMIHHybZECIns9e2EF4AGalfOgZqwmQIEUG1UpVk08nTapx0iY17vOELD_9wIQTUdRwUsR"   ' 알림명   tickerText = "알림테스트"   ' 알림 제목   contentTitle = "테스트 제목"   ' 알림 내용   message = "헬로~~~ 테스트입니다.~~~"   postJSONData = "" & _      "{" & _      "  " "registration_ids" " : [ " "" & RegId & "" " ]" & _      ", " "data" ": {" & _      "                 " "tickerText" " : " "" & tickerText ...