Team:Heidelberg/Templates/Footer-DelRest
From 2013.igem.org
(Difference between revisions)
Nils.kurzawa (Talk | contribs) m |
Nils.kurzawa (Talk | contribs) |
||
Line 56: | Line 56: | ||
}) | }) | ||
}); | }); | ||
+ | |||
+ | //make labjournal fit on month-tab click | ||
+ | $('july').click(function(e) { | ||
+ | e.preventDefault(); | ||
+ | $('.labjournal-weekly:visible').hide(); | ||
+ | $($('.labjournal-weekly').hide()[0]).show(); | ||
+ | }); | ||
+ | |||
+ | $('august').click(function(e) { | ||
+ | e.preventDefault(); | ||
+ | $('.labjournal-weekly:visible').hide(); | ||
+ | $($('.labjournal-weekly').hide()[5]).show(); | ||
+ | }); | ||
+ | |||
</script> | </script> | ||
<!--<script src="bootstrap-3.0.0/assets/js/jquery.js"></script>--> | <!--<script src="bootstrap-3.0.0/assets/js/jquery.js"></script>--> |
Revision as of 20:58, 30 September 2013