Team:NCTU Formosa/source/header-notebook
From 2014.igem.org
(Difference between revisions)
Line 89: | Line 89: | ||
block.click( | block.click( | ||
function() { | function() { | ||
- | index = block.index(this) | + | index = block.index(this)+1; |
$(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:26, 30 September 2014