문제

is there any option to prevent slideUp() when hover its related div ?

$('#member1').hover(function () {
    $("#memberdetails2").hide();
    $("#memberdetails1").stop(true, true).slideDown();
}, function () {
    $("#memberdetails1").stop(true, true).slideUp();
});
$('#memebr2').hover(function () {
    $("#memberdetails1").hide();
    $("#memberdetails2").stop(true, true).slideDown();
}, function () {
    $("#memberdetails2").stop(true, true).slideUp();
});

DEMO http://jsfiddle.net/sweetmaanu/zDYyB/

도움이 되었습니까?

해결책

Are you talking about something like this?

http://jsfiddle.net/zDYyB/2/

If you want the members detail to be always visible, remove

$('#company').on('mouseleave', function(e) {
  $('.membersare').hide();
});
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top