사이트(http://www.ajaxload.info/)에서
좋은 Loading Indicator(Spinner)를 구한 다음에 아래와 같이 간단히 구현할 수 있다.
jQuery(function($){
// Create img dom element and insert it into our document
var loading = $('
')
.appendTo(document.body).hide();
// Make the image appear during ajax calls
$(window).ajaxStart(loading.show);
$(window).ajaxStop(loading.hide);
});
참고적으로 요기 도 보아두면 좋아요~~
jQuery를 모르는 분들은 여기서 부터 시작하세요
<출처 : http://techbug.tistory.com/111 [데꾸벅님블로그]>
댓글 없음:
댓글 쓰기