[jQuery] 스크롤 따라다니는 사이드바(레이어) – stick kit
https://github.com/leafo/sticky-kit 참고용
https://github.com/leafo/sticky-kit 참고용
화면 스크롤시 특정 높이에서 Scroll to Top 버튼이 fade In 되는 스크립트이다. HTML <div class="scrollUp" onclick="javascript:scrollUp();"><i class="fa fa-angle-up" aria-hidden="true"><...
jQuery 속성 중 class 를 지워주는 removeClass 라는게 있다. 하지만 이 속성은 document 가 준비되는 순간 또는 window 가 로드되는 순간 class 를 지워버린다. removeClass에 delay효과를 주기 위해선 다음과 ...
기록기록 방법1 <script src="http://code.jquery.com/jquery-1.11.0.min.js"></script> <script> jQuery(document).ready(function() { var bodyOffset = jQuery('body').offset(); jQu...
방법1 변수 classes에 할당된 배열의 이름을 li 태그에 랜덤으로 부여 $(document).ready(function(){ var classes = ["one", "two", "three"]; $('li').addCl...
Google Fonts API에서 제공하는 것보다 글꼴 로드를 더욱 세밀하게 할 수 있다,, 고 하는 구글의 웹 글꼴 로더에 대한 간단한 사용법을 기록한다. Web Font Loader 저장소 바로가기 head <script sr...