Team:Heidelberg/Project

From 2014.igem.org

(Difference between revisions)
Line 424: Line 424:
});
});
-
$('.toolbox-icon span').hide();
+
$('.descr-box span').css("opacity", 0);
$('.descr-box h3, .descr-box > a')
$('.descr-box h3, .descr-box > a')
.mouseenter(function(){
.mouseenter(function(){
var $element;
var $element;
-
if($(this).sibling().length == 0)
+
if($(this).siblings().length == 0)
// we're inside the warpping div, break out first
// we're inside the warpping div, break out first
$element = $(this).parent();
$element = $(this).parent();
Line 438: Line 438:
.mouseleave(function() {
.mouseleave(function() {
var $element;
var $element;
-
if($(this).sibling().length == 0)
+
if($(this).siblings().length == 0)
// we're inside the warpping div, break out first
// we're inside the warpping div, break out first
$element = $(this).parent();
$element = $(this).parent();

Revision as of 08:59, 15 October 2014