Spectrum 컬러피커 추가 등

- MIT 라이선스의 Spectrum 컬러피커 추가. (기존 jPicker를 대체 - 파일은 그대로 두어서 의존성 문제 회피)
- 색상 선택하는 부분을 전반적으로 다듬음
This commit is contained in:
MinSoo Kim 2016-02-06 17:53:53 +09:00
parent 4698bcac3e
commit 3288d504d2
65 changed files with 36275 additions and 28 deletions

View file

@ -10,6 +10,15 @@ jQuery(function($){
// 컬러 피커가 내장된 브라우저에서는 내장된 컬러피커 이용 by misol 2016.02.05
if ( $("input.color-indicator").prop('type') != 'color' ) {
$('input.color-indicator').xe_colorpicker();
$('input.color-indicator').xe_colorpicker({
window:
{
position:
{
x: 'screenCenter', // acceptable values "left", "center", "right", "screenCenter", or relative px value
y: 'center', // acceptable values "top", "bottom", "center", or relative px value
}
}
});
}
});