$(selector).resize()크기 조정 이벤트에 함수를 첨부합니다.
$(selector).resize(function)
$( window ).resize(function() {이 예에서는 메시지가 < div id="로그"입니다> 창 크기가 조정될 때마다.
$( "#log" ).append( "resize() 메소드 호출됨" );
});
Please disable your ad blocker and refresh the window to use this website.