Team:Heidelberg/Templates/Footer-DelRest
From 2013.igem.org
(Difference between revisions)
Nils.kurzawa (Talk | contribs) m (Created page with "<html> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> <script src="https://2013.igem.org/Team:Heidelberg/Templates/jque...") |
Nils.kurzawa (Talk | contribs) m |
||
(28 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
- | + | ||
- | <script src="https://2013.igem.org/Team:Heidelberg/Templates/ | + | <script src="https://2013.igem.org/Team:Heidelberg/Templates/jquery-scrollbar?action=raw&ctype=text/javascript"></script> |
- | <script src="https://2013.igem.org/Team:Heidelberg/Templates/ | + | <script src="https://2013.igem.org/Team:Heidelberg/Templates/jquery-scrollbar2?action=raw&ctype=text/javascript"></script> |
- | <script src="https://2013.igem.org/Team:Heidelberg/Templates/ | + | <script src="https://2013.igem.org/Team:Heidelberg/Templates/carousel-special-js?action=raw&ctype=text/javascript"></script> |
+ | |||
+ | |||
<script type="text/javascript"> | <script type="text/javascript"> | ||
$(function() { | $(function() { | ||
Line 27: | Line 29: | ||
}); | }); | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
Line 91: | Line 49: | ||
$('#myTab a').click(function (e) { | $('#myTab a').click(function (e) { | ||
e.preventDefault() | e.preventDefault() | ||
- | $('#myTab a[href="# | + | $('#myTab a[href="#a10"]').tab('show') |
- | $('#myTab a[href="# | + | $('#myTab a[href="#a11"]').tab('show') |
- | $('#myTab a[href="# | + | $('#myTab a[href="#a12"]').tab('show') |
- | $('#myTab a[href="# | + | $('#myTab a[href="#a13"]').tab('show') |
}) | }) | ||
}); | }); | ||
+ | |||
+ | //make labjournal fit on month-tab click | ||
+ | $('#july').click(function(e) { | ||
+ | e.preventDefault(); | ||
+ | $('.labjournal-weekly:visible').hide(); | ||
+ | $($('.labjournal-weekly')[0]).show(); | ||
+ | scrollbar.triggerScrollbarUpdate_nav_tabs(); | ||
+ | }); | ||
+ | |||
+ | $('#august').click(function(e) { | ||
+ | e.preventDefault(); | ||
+ | $('.labjournal-weekly:visible').hide(); | ||
+ | $($('.labjournal-weekly')[5]).show(); | ||
+ | scrollbar.triggerScrollbarUpdate_nav_tabs(); | ||
+ | }); | ||
+ | |||
</script> | </script> | ||
<!--<script src="bootstrap-3.0.0/assets/js/jquery.js"></script>--> | <!--<script src="bootstrap-3.0.0/assets/js/jquery.js"></script>--> | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
</html> | </html> |
Latest revision as of 14:37, 4 October 2013