jmodal
jmodal 은 jQuery Modal 이며, jQuery 플러그인 입니다.
Github: https://github.com/syakuis/jmodal
데모: http://syakuis.github.io/demo/jmodal/demo.html
지원
아주 심플한 모달을 지원합니다.
모달을 열고 닫는 method 를 지원합니다.
여러개의 모달을 순차적으로 열고 닫을 수 있습니다.
확장성을 고려하여 개발되었습니다.
설치
bower install syaku-jmodal
<script src="./jquery.syaku.modal.js" /></script>
실행
var modal = $('<div>모달</div>').jmodal();
열기와 닫기
modal.open();
modal.close();
기본 옵션
'backgroundColor': '#000',
'buttonClose': false,
'opacity': 0.75,
'zIndex': 100,
'beforeOpen': null,
'afterOpen': null,
'beforeClose': null,
'afterClose': null,
'class': null,
'width': null
Syaku Blog by Seok Kyun. Choi. 최석균.