Team:Heidelberg/Templates/Footer
From 2013.igem.org
(Difference between revisions)
Nils.kurzawa (Talk | contribs) m |
Nils.kurzawa (Talk | contribs) m |
||
Line 31: | Line 31: | ||
$('#myCarousel').carousel({interval: 0}); | $('#myCarousel').carousel({interval: 0}); | ||
$('div').scrollspy({ target: '#navbarExample' }); | $('div').scrollspy({ target: '#navbarExample' }); | ||
+ | |||
+ | |||
+ | //Month-week dependecy | ||
+ | $('#may').click(function(e) { | ||
+ | $('.item.active').removeClass('active') | ||
+ | $('.active.month_tab').removeClass('active') | ||
+ | $('#may_weeks').addClass('active') | ||
+ | $('#may').addClass('active') | ||
+ | e.preventDefault(); | ||
+ | }); | ||
+ | |||
+ | $('#june').click(function(e) { | ||
+ | $('.item.active').removeClass('active') | ||
+ | $('.active.month_tab').removeClass('active') | ||
+ | $('#june_weeks').addClass('active') | ||
+ | $('#june').addClass('active') | ||
+ | e.preventDefault(); | ||
+ | }); | ||
}); | }); | ||
</script> | </script> | ||
</html> | </html> |
Latest revision as of 09:36, 24 September 2013