jQuery w3schools 한글판 강좌38 - jQuery Effects -Animation -jQuery animate() -Using Pre-defined Values > 개발자팁

개발자팁

개발과 관련된 유용한 정보를 공유하세요.
질문은 QA에서 해주시기 바랍니다.

jQuery w3schools 한글판 강좌38 - jQuery Effects -Animation -jQuery animate() -Using Pre-defined Values 정보

jQuery jQuery w3schools 한글판 강좌38 - jQuery Effects -Animation -jQuery animate() -Using Pre-defined Values

본문

 jQuery w3schools 한글판 강좌38 - jQuery Effects -Animation -jQuery animate() -Using Pre-defined Values

 

jQuery animate() - 미리정의된 값 이용하기

여러분은 한개의 특성의 애니메이션(동작)값으로 "show", "hide", 또는 "toggle"을 지정할 수 있습니다 :

Example

$("button").click(function(){
    $("div").animate({
        height: 'toggle'
    });
}); 

추천
0
  • 복사

댓글 0개

© SIRSOFT
현재 페이지 제일 처음으로