Team:NCTU Formosa/source/header-notebook

From 2014.igem.org

(Difference between revisions)
Line 90: Line 90:
function() {
function() {
index = block.index(this);
index = block.index(this);
-
//$(this).closest('.cal-wrapper').find('.note').css("display", "none");
+
$(this).closest('.cal-wrapper').find('.note:nth-child('+index+')').slideToggle('fast');
-
$(this).closest('.cal-wrapper').find('.note:nth-child(1)').slideToggle('fast');
+
-
//$(this).closest('.cal-wrapper').find('.note:nth-child(index)').slideToggle('fast');
+
}
}
);}
);}

Revision as of 17:24, 30 September 2014