목록Programing/WEB (45)
(❀╹◡╹)
$url = (isset($_SERVER['HTTPS'])?'https://':'http://').$_SERVER['HTTP_HOST'];
ckeditor.com/ckeditor-4/download/ CKEditor 4 - Download Download a ready-to-use CKEditor 4 package. ckeditor.com 위 페이지에서 zip 파일 다운로드 후 압축 풀어서 서버에 업로드 [에디터 사용할 파일] [config.js] (CKEditor 다운로드 시 함께 구성되어있는 파일임) CKEDITOR.editorConfig = function( config ) { ...(생략) // Simplify the dialog windows. // 삭제할 dialog 기술 config.removeDialogTabs = 'image:Link;image:advanced;link:advanced'; config.height = 400;..
function resize_crop_image($max_width, $max_height, $source_file, $dst_dir, $crop = true, $watermark = false, $quality = 70) { $imgsize = getimagesize($source_file); $width = $imgsize[0]; $height = $imgsize[1]; $mime = $imgsize['mime']; switch($mime){ case 'image/gif': $image_create = 'imagecreatefromgif'; $image = 'imagegif'; break; case 'image/png': $image_create = 'imagecreatefrompng'; $image..
function format_tel($tel) { // 숫자 외 문자 제거 $tel = preg_replace('/[^0-9]/', '', $tel); return preg_replace('/(^02.{0}|^01.{1}|^15.{2}|^16.{2}|^18.{2}|[0-9]{3})([0-9]+)([0-9]{4})/', '$1-$2-$3', $tel); } /(^02.{0}|^01.{1}|^15.{2}|^16.{2}|^18.{2}|[0-9]{3})([0-9]+)([0-9]{4})/ ① (^02.{0}|^01.{1}|^15.{2}|^16.{2}|^18.{2}|[0-9]{3}) - 02 - 01로 시작하는 경우 추가로 한자리 더 추출 (ex. 010, 011, 016 등) - 15로 시작하는 경우 추가로 두자..
stackoverflow.com/questions/44681711/slick-carousel-css-fade-transition-doesnt-work-on-first-slider Slick Carousel css fade transition doesn't work on first slider I have a standard slick carousel slider. I made it so each div fades in and out when it slides. My issue is, after going through all the divs, when it restarts, the first div does not fade in, but ... stackoverflow.com .slick-slide .i..
$('a').on("click", function() { $('#addressesList').css('display', 'block'); $('#addressesList').get(0).slick.setPosition() }); jsfiddle.net/5eceg5yd/8/ Edit fiddle - JSFiddle - Code Playground jsfiddle.net stackoverflow.com/questions/26677649/slick-slider-loaded-with-displaynone-creates-bad-initiation Slick Slider loaded with display:none creates bad initiation I've got a gallery of thumbs and ..
SELECT LEVEL FROM DUAL CONNECT BY LEVEL < 10; [결과값] 1 2 3 4 5 6 7 8 9 시간대별 접속 횟수 구하기 등에 활용
var email_regexp = /^[0-9a-zA-Z]([-_\.]?[0-9a-zA-Z])*@[0-9a-zA-Z]([-_\.]?[0-9a-zA-Z])*\.[a-zA-Z]{2,3}$/i; var nick_regexp = /^[a-zA-Z가-힣]{2,10}$/; // 국문 또는 영문 2자 이상~10자 이하 var pw_regexp = /^(?=.*[a-z])(?=.*[~!@#$%^&*])(?=.*[0-9])[a-z0-9~!@#$%^&*]{9,15}$/; // 영문 소문자, 숫자 또는 특수문자 포함, 9-15자 이내(사용 가능한 특수문자 : ~!@#$%^&*)