0
$('<div class="error"></div>').html('<h2>(click here to dismiss)</h2>').insertAfter($('#someid')).fadeIn('slow').animate({ opacity: 1.0 }, 1000).click(function() {
$(this).fadeOut('slow', function() {
$(this).remove()
})
});
로 이것을 결합하는 방법이있다 : 즉페이드 아웃 설명서
$('#someid').animate({opactiy: 1.0 } fadeOut('slow', function() {
$(this).remove()
});
가 결합하는 그래서 그들은 그것을 클릭하지 않는 경우, , 많은 시간이 지나면 여전히 사라질 것입니다.