P

jQuery w3schools 한글판 강좌27 - jQuery Effects - jQuery fadeIn() Method

· 2017-03-15 (수) 23:35:12 · 2629

jQuery fadeIn() 메소드

jQuery fadeIn() 메소드는 숨겨진 요소를 점점 보이게 하는데 사용됩니다.

 

문법:

$(selector).fadeIn(speed,callback);

 

옵션적인(추가로 사용해도 되는) speed 매개 변수는 효과 발현시간의 길이를 지정하며,

다음의 값을 가질수 있습니다: "slow", "fast", 또는 milliseconds.

옵션적인(추가로 사용해도 되는) callback 매개변수는 페이딩이 완료되면 실행되는 함수 입니다.

 

 

다음 예는 서로 다른 매개변수를 가지는 fadeIn() 메소드를 보여줍니다:

Example

$("button").click(function(){
    $("#div1").fadeIn();
    $("#div2").fadeIn("slow");
    $("#div3").fadeIn(3000);
}); 

댓글을 작성하시려면 로그인이 필요합니다.

개발자팁

5,404건

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

+
분류 제목 글쓴이 날짜 조회
jQuery 17-03-18 조회 2,344
jQuery 17-03-18 조회 2,861
jQuery 17-03-18 조회 2,441
PHP 17-03-18 조회 4,506
jQuery 17-03-17 조회 2,298
jQuery 17-03-17 조회 2,340
jQuery 17-03-17 조회 2,200
jQuery 17-03-17 조회 3,188
PHP 17-03-16 조회 2,458
PHP 17-03-16 조회 2,284
PHP 17-03-16 조회 2,493
기타 17-03-16 조회 1.6만
OS 17-03-16 조회 3,564
jQuery 17-03-15 조회 2,630
jQuery 17-03-15 조회 2,701
jQuery 17-03-15 조회 2,803
jQuery 17-03-14 조회 2,597
jQuery 17-03-14 조회 2,724
jQuery 17-03-14 조회 3,684
PHP 17-03-13 조회 2,639
PHP 17-03-13 조회 2,436
PHP 17-03-13 조회 2,699
PHP 17-03-11 조회 2,416
PHP 17-03-11 조회 3,108
PHP 17-03-11 조회 2,770
jQuery 17-03-11 조회 2,783
jQuery 17-03-11 조회 2,868
jQuery 17-03-11 조회 2,301
jQuery 17-03-10 조회 2,304
jQuery 17-03-10 조회 2,294