기본 콘텐츠로 건너뛰기

12월, 2015의 게시물 표시

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

자바스크립트 계좌번호 마스킹 처리 /** * 입력받은 문자열에서 시작 위치부터 종료위치까지 마스킹 처리한다. * @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