Team:Heidelberg/Templates/Footer-DelRest
From 2013.igem.org
(Difference between revisions)
Nils.kurzawa (Talk | contribs) |
Nils.kurzawa (Talk | contribs) m |
||
Line 58: | Line 58: | ||
//make labjournal fit on month-tab click | //make labjournal fit on month-tab click | ||
- | $('july').click(function(e) { | + | $('#july').click(function(e) { |
e.preventDefault(); | e.preventDefault(); | ||
$('.labjournal-weekly:visible').hide(); | $('.labjournal-weekly:visible').hide(); | ||
- | $($('.labjournal-weekly' | + | $($('.labjournal-weekly')[0]).show(); |
}); | }); | ||
- | $('august').click(function(e) { | + | $('#august').click(function(e) { |
e.preventDefault(); | e.preventDefault(); | ||
$('.labjournal-weekly:visible').hide(); | $('.labjournal-weekly:visible').hide(); | ||
- | $($('.labjournal-weekly' | + | $($('.labjournal-weekly')[5]).show(); |
}); | }); | ||
Revision as of 21:10, 30 September 2013