๐
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#header { | |
background: #EEE; | |
padding: 20px 0; | |
} | |
.canvas_place .canvas_place__option { | |
padding: 10px 0; | |
text-align: right; | |
font-size: .9em; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
include_once $_SERVER['DOCUMENT_ROOT']."/app/helper/lib.php"; | |
$files = $_FILES['files']; | |
$cnt = count($files['name']); | |
$uploaded = []; | |
for($i = 0; $i < $cnt; $i++) { | |
$name = $files['name'][$i]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
( function() { | |
function App() { | |
} | |
App.prototype = { | |
notice: { | |
update: function(data) { | |
$.ajax({ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php include_once($_SERVER['DOCUMENT_ROOT']."/app/helper/lib.php"); ?> | |
<!DOCTYPE html> | |
<html lang="ko"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Ajax</title> | |
<link rel="stylesheet" href="assets/css/common.css"> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" integrity="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" crossorigin="anonymous"> | |
</head> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
error_reporting(0); | |
session_start(); | |
?> | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>๋ก๊ทธ์ธ</title> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// common.js | |
var cvs = document.getElementById('cvs'), | |
ctx = cvs.getContext('2d'); | |
var data = [10, 40, 10, 10, 10], | |
sum = data.reduce(function(prv, crv) { | |
return prv + crv; | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// common.js | |
var cvs = document.getElementById('cvs'), | |
ctx = cvs.getContext('2d'); | |
var data = [20, 70, 20, 40 ,60], | |
width = cvs.width / data.length, | |
max = Math.max.apply(null, data); | |
ctx.moveTo(0, cvs.height); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Common.css */ | |
.flip-container { | |
perspective: 1000px; | |
} | |
.flip-container .flipper { | |
width: 300px; | |
height: 300px; | |
position: relative; | |
transition: 1s all; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 20170627 common.js | |
* ๋ฐ๋์ ์ด ๋ฌธ์์ ๋ด์ฉ๋ง ์์ ํ์ฌ ์์ ํ์ธ์. | |
*/ | |
$(document).ready(function() { | |
var cnt = 0; | |
var slideWrap = $('.slide__wrap'), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function() { | |
var slideWrap = $('#slideWrap'), | |
slideMover = slideWrap.find('.slide_mover'), | |
slideMoverChild = slideMover.find('.slide_mover__child'), | |
slideArrowWrap = slideWrap.find('.slide_arrow_wrap'), | |
slideArrowLeft = slideArrowWrap.find('.slide_arrow__left'), | |
slideArrowRight = slideArrowWrap.find('.slide_arrow__right'), | |
position = 0, | |
timeout = null; |