Team:NCTU Formosa/source/header-notebook
From 2014.igem.org
(Difference between revisions)
Line 126: | Line 126: | ||
block.click( | block.click( | ||
function() { | function() { | ||
- | index = block. | + | index = block.eq(this)+1; |
alert(index); | alert(index); | ||
$(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 18:31, 5 October 2014