Popup

Base Popup Button
js popup
Class
name description
.sp--popup-btn 팝업창 클릭 이벤트 버튼
Attribute
name description
data-width default : screen.width * .9
px, % 문자열로 크기를 지정할 수 있다.
data-height default : screen.height * .8
px, % 문자열로 크기를 지정할 수 있다.
data-target default : '' ( string )
기본적으로 팝업창은 빈값이며, 중복해서 뜨게 된다.
한개만 띄울 경우, 이 attribute에 이름을 전달하자.