Team:Heidelberg/Templates/Footer-DelH
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...") |
JuliaS1992 (Talk | contribs) |
||
(6 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
<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/jquery-scrollbar?action=raw&ctype=text/javascript"></script> | ||
<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/jquery-scrollbar2?action=raw&ctype=text/javascript"></script> | ||
<script src="https://2013.igem.org/Team:Heidelberg/Templates/carousel-special-js2?action=raw&ctype=text/javascript"></script> | <script src="https://2013.igem.org/Team:Heidelberg/Templates/carousel-special-js2?action=raw&ctype=text/javascript"></script> | ||
+ | |||
<script type="text/javascript"> | <script type="text/javascript"> | ||
$(function() { | $(function() { | ||
Line 42: | Line 40: | ||
var target = $(e.delegateTarget); | var target = $(e.delegateTarget); | ||
var id = target.attr("id"); | var id = target.attr("id"); | ||
- | $('.' + id + " | + | $('.' + id + ".first").addClass('active'); |
target.addClass('active'); | target.addClass('active'); | ||
e.preventDefault(); | e.preventDefault(); | ||
Line 62: | Line 60: | ||
$('.labjournal-weekly:visible').hide(); | $('.labjournal-weekly:visible').hide(); | ||
$($('.labjournal-weekly')[0]).show(); | $($('.labjournal-weekly')[0]).show(); | ||
+ | scrollbar.triggerScrollbarUpdate_nav_tabs(); | ||
}); | }); | ||
Line 68: | Line 67: | ||
$('.labjournal-weekly:visible').hide(); | $('.labjournal-weekly:visible').hide(); | ||
$($('.labjournal-weekly')[5]).show(); | $($('.labjournal-weekly')[5]).show(); | ||
+ | scrollbar.triggerScrollbarUpdate_nav_tabs(); | ||
}); | }); | ||
Line 73: | Line 73: | ||
e.preventDefault(); | e.preventDefault(); | ||
$('.labjournal-weekly:visible').hide(); | $('.labjournal-weekly:visible').hide(); | ||
- | $($('.labjournal-weekly')[ | + | $($('.labjournal-weekly')[9]).show(); |
+ | scrollbar.triggerScrollbarUpdate_nav_tabs(); | ||
}); | }); | ||
Line 79: | Line 80: | ||
e.preventDefault(); | e.preventDefault(); | ||
$('.labjournal-weekly:visible').hide(); | $('.labjournal-weekly:visible').hide(); | ||
- | $($('.labjournal-weekly')[ | + | $($('.labjournal-weekly')[14]).show(); |
+ | scrollbar.triggerScrollbarUpdate_nav_tabs(); | ||
}); | }); | ||
Line 85: | Line 87: | ||
e.preventDefault(); | e.preventDefault(); | ||
$('.labjournal-weekly:visible').hide(); | $('.labjournal-weekly:visible').hide(); | ||
- | $($('.labjournal-weekly')[ | + | $($('.labjournal-weekly')[18]).show(); |
+ | scrollbar.triggerScrollbarUpdate_nav_tabs(); | ||
}); | }); | ||
Line 91: | Line 94: | ||
e.preventDefault(); | e.preventDefault(); | ||
$('.labjournal-weekly:visible').hide(); | $('.labjournal-weekly:visible').hide(); | ||
- | $($('.labjournal-weekly')[ | + | $($('.labjournal-weekly')[22]).show(); |
+ | scrollbar.triggerScrollbarUpdate_nav_tabs(); | ||
}); | }); | ||
+ | |||
</script> | </script> | ||
- | |||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
</html> | </html> |
Latest revision as of 23:33, 28 October 2013