Team:Heidelberg/Project

From 2014.igem.org

(Difference between revisions)
Line 433: Line 433:
else
else
$element = $(this).parent();
$element = $(this).parent();
-
 
+
-
console.log($element.find('span'));
+
$element.find('span').stop(true).animate({opacity: 1});
-
$element.find('span').animate({opacity: 1});
+
})
})
.mouseleave(function() {
.mouseleave(function() {
Line 445: Line 444:
$element = $(this).parent();
$element = $(this).parent();
-
console.log($element.find('span'));
+
$element.find('span').stop(true).animate({opacity: 0});
-
$element.find('span').animate({opacity: 0});
+
});
});
});
});

Revision as of 09:05, 15 October 2014