티스토리 뷰
728x90
반응형
이미지 로드 체크 jquery plugin
바로가기 - http://imagesloaded.desandro.com/
깔끔하닷 ~ ㅎㅎ
$('#container').imagesLoaded()
.always( function( instance ) {
console.log('all images loaded');
})
.done( function( instance ) {
console.log('all images successfully loaded');
})
.fail( function() {
console.log('all images loaded, at least one is broken');
})
.progress( function( instance, image ) {
var result = image.isLoaded ? 'loaded' : 'broken';
console.log( 'image is ' + result + ' for ' + image.img.src );
});
728x90
반응형
'유용한 정보' 카테고리의 다른 글
HTTPie - 터미넡에서 쉽게 api 테스트 해보기~ (0) | 2017.03.05 |
---|---|
초간편 범위설정 슬라이더( noUiSlider-javascript range slider ) (0) | 2016.10.28 |
유동그리드 라이브러리 masonry.js (0) | 2016.08.03 |
Cropper.js 이미지 편집 라이브러리 (0) | 2016.07.29 |
ui관련 프레임웍~ (0) | 2016.07.20 |
댓글
250x250
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- CSS
- svg모션
- Vue3
- Angular
- 코도바
- Aptana
- 앵귤러
- anime.js
- interceptors
- react-router-dom
- icon font
- git
- git checkout -b
- Intrinsic
- 내장요소
- RefreshToken
- JsDoc
- for of 구문
- 자바스크립트
- 반복문
- cordova
- React.StrictMode
- react
- IntrinsicElements
- vue-router
- svg 폰트
- svg icon font
- 리프래시토큰
- 태그
- 아이콘 폰트 만들기
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
글 보관함