웹프로그램밍 자료실/JAVA 자료
[해피CGI][cgimall] jQuery 경고창(alert) 플러그인 - newAlert
해피CGI윤실장
2019. 5. 16. 09:09
- 라이센스
MIT
- 사용 방법
1. 파일 상단에 jQuery 라이브러리와 newAlert JS, CSS 파일 링크를 걸어줍니다.
MIT
- 사용 방법
1. 파일 상단에 jQuery 라이브러리와 newAlert JS, CSS 파일 링크를 걸어줍니다.
2. 필요하면 최신 글꼴과 아이콘 CSS도 링크해줍니다.
3. 상단에 표시될 경고창 영역을 코딩해줍니다.
4. newAlert 스크립트를 실행합니다.
- icon: 아이콘 이름 (check, exclamation, triangle, exclamation-c, bell, bell-slash, block, comment, commments, times)
- type: 경고창 타입 (warning, danger, success, grey, dark)
- text: 경고 메세지
- time: 메세지 출력 시간
- dismiss: 닫기버튼(true,false)
- 작동 예제