Team:Heidelberg/Templates/Footer-DelRest

From 2013.igem.org

(Difference between revisions)
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').hide()[0]).show();
+
   $($('.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').hide()[5]).show();
+
   $($('.labjournal-weekly')[5]).show();
});
});

Revision as of 21:10, 30 September 2013