이 스크립트는jQuery : 마우스 오버 타임 아웃
$('.parent a').live('mouseover mouseout', function(event) {
if (event.type == 'mouseover'){
if ($(this).siblings('.child').css('width') == '0px' ){
$(this).siblings('.child').animate({'width': window.innerWidth}, 500);
}
}else{
if (!$(this).hasClass('active')){
$(this).siblings('.child').animate({'width': 0}, 500);
}
}
});
위의 스크립트에서 확인한 것처럼 $('.parent a')
위에 마우스를 놓으면 형제가 너비를 확장합니다.
지금 형제 자매님은 즉시 마우스를 놓으면 즉시 답장합니다. 나는 이미 마우스가 끝났을 때 그 일이 일어나길 원합니다. 5 seconds
어떻게 만드나요?