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(); }); 

demo http://jsfiddle.net/sweetmaanu/zdyyb/

are talking this?

http://jsfiddle.net/zdyyb/2/

if want members detail visible, remove

$('#company').on('mouseleave', function(e) {   $('.membersare').hide(); }); 

Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -