Team:NCTU Formosa/source/header-notebook
From 2014.igem.org
(Difference between revisions)
Line 128: | Line 128: | ||
index = block.index(this)+1; | index = block.index(this)+1; | ||
indexi = block.closest('.calendar').find('.note:nth-child(1)').index(this); | indexi = block.closest('.calendar').find('.note:nth-child(1)').index(this); | ||
+ | alert(index+" "+indexi); | ||
index-= indexi; | index-= indexi; | ||
$(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:42, 5 October 2014