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

iphone - Three second countdown in cocos2d -

hyperlink - how to do url routing in php -

c - Avoiding Extra Malloc in Linked List (node->next = NULL) -