javascript - jQuery : how to prevent animation in related div? -
is there option prevent slideup()
when hover 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(); });
are talking this?
if want members detail visible, remove
$('#company').on('mouseleave', function(e) { $('.membersare').hide(); });
Comments
Post a Comment