P

jQuery w3schools 한글판 강좌25 - jQuery Effects - Hide and Show2

· 2017-03-14 (화) 00:15:31 · 2545

Syntax:

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

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

선택적으로 사용할수 있는 speed 매개변수는 감춤/보임의 속도를 지정하며, 다음 값을 가질수 있습니다: "slow", "fast", or milliseconds.

 

선택적으로 사용할수 있는 callback 매개변수는 hide() 또는 show() 메소드가 완료된후에 실행되는 함수 입니다.(다음 장에서 callback함수들에 대해서 더 자세히 배울 것 입니다).

 

다음 예는 hide()메소드를 가지고 speed 매개변수를 보여줍니다:

 

Example

$("button").click(function(){
    $("p").hide(1000);
});

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

개발자팁

5,403건

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

+
분류 제목 글쓴이 날짜 조회
jQuery 17-03-18 조회 2,792
jQuery 17-03-18 조회 2,372
PHP 17-03-18 조회 4,391
jQuery 17-03-17 조회 2,245
jQuery 17-03-17 조회 2,291
jQuery 17-03-17 조회 2,146
jQuery 17-03-17 조회 3,149
PHP 17-03-16 조회 2,409
PHP 17-03-16 조회 2,237
PHP 17-03-16 조회 2,447
기타 17-03-16 조회 1.6만
OS 17-03-16 조회 3,524
jQuery 17-03-15 조회 2,578
jQuery 17-03-15 조회 2,644
jQuery 17-03-15 조회 2,749
jQuery 17-03-14 조회 2,546
jQuery 17-03-14 조회 2,667
jQuery 17-03-14 조회 3,626
PHP 17-03-13 조회 2,587
PHP 17-03-13 조회 2,381
PHP 17-03-13 조회 2,650
PHP 17-03-11 조회 2,373
PHP 17-03-11 조회 3,053
PHP 17-03-11 조회 2,725
jQuery 17-03-11 조회 2,720
jQuery 17-03-11 조회 2,817
jQuery 17-03-11 조회 2,242
jQuery 17-03-10 조회 2,249
jQuery 17-03-10 조회 2,251
jQuery 17-03-10 조회 2,621