<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <script src="//work6.kr/plugin/plugin_link/26"></script> <script> $(function(){ $('#main').bgSlideBanner({ delay:5000, img:{1:'img1.jpg',2:'img2.jpg'} }); }); </script> <section id="main" style="background:url('/img1.jpg') no-repeat center center; background-size: cover;"> <h1>The Association of American State Offices In Korea</h1> </section>
설치방법
1. Line18 ~ 20 : html을 복사 그리고 붙여넣기 합니다.
2. Line1 : 제이쿼리를 설치 및 연결 합니다.
3. Line2 : 플러그인 사용하기 후 도메인을 등록 합니다. 코드를 복사 그리고 붙여넣기 합니다.
4. Line6 ~ 14 : 스크립트를 복사 그리고 붙여넣기 합니다.
5. Line9 : 이미지 변경 속도를 설정 합니다.
6. Line10 : 배너가 될 이미지 주소를 설정 합니다.
Install
1. Line18 ~ 20: Copy and paste html.
2. Line1: Install and connect the Jquery.
3. Line2: Register the domain after using the plug-in. Copy and paste code.
4. Line 6 ~ 14: Copy and paste the script.
5. Line9: Sets the speed of image change.
6. Line10: Set the image address to be a banner.