티스토리 뷰
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
- JsDoc
- Angular
- react
- 아이콘 폰트 만들기
- icon font
- interceptors
- Aptana
- cordova
- React.StrictMode
- vue-router
- 태그
- Vue3
- react-router-dom
- Intrinsic
- 코도바
- 자바스크립트
- svg 폰트
- RefreshToken
- anime.js
- 반복문
- 앵귤러
- svg icon font
- for of 구문
- svg모션
- git
- IntrinsicElements
- 리프래시토큰
- 내장요소
- git checkout -b
- CSS
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함