Team:NCTU Formosa/source/header-notebook

From 2014.igem.org

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

Revision as of 17:23, 30 September 2014