<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <script src="//work6.kr/plugin/plugin_link/20"></script> <script> $(function(){ $('#countTime').countTime({ time:'2015-07-20 00:00:00'//기준시간 }); }); </script> <body> <span id="countTime"></span> </body>
설치방법
1. Line1 : 제이쿼리를 연결합니다.
2. Line2 : 플러그인 사용하기 후 도메인을 등록 합니다. 이 후 코드를 복사 그리고 붙여넣기 합니다.
3. Line13 : 타이머 영역을 만듭니다.
4. Line6 ~ 8 : 스크립트를 복사 그리고 붙여넣기 합니다.
Install
1. Line 1 : Connect the jquery.
2. Line2 : Register the domain after using the plug-in. Copy and paste the code after this.
3. Line13 : Create a timer area.
4. Line6 ~ 8 : Copy and paste the script.