Team:Heidelberg/Templates/Footer-DelRest

From 2013.igem.org

(Difference between revisions)
m
 
(13 intermediate revisions not shown)
Line 1: Line 1:
<html>
<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/jqueryjs?action=raw&ctype=text/javascript"></script>
+
-
<script src="https://2013.igem.org/Team:Heidelberg/Templates/bootstrapjs?action=raw&ctype=text/javascript"></script>
+
-
<script src="https://2013.igem.org/Team:Heidelberg/Templates/holderjs?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-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-js?action=raw&ctype=text/javascript"></script>
<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 58: Line 57:
//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();
 +
  scrollbar.triggerScrollbarUpdate_nav_tabs();
});
});
-
$('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();
 +
  scrollbar.triggerScrollbarUpdate_nav_tabs();
});
});
Line 73: Line 74:
           <!--<script src="bootstrap-3.0.0/assets/js/jquery.js"></script>-->
           <!--<script src="bootstrap-3.0.0/assets/js/jquery.js"></script>-->
-
          <!-- lets have a nicer scrollbar -->
+
 
-
          <script>
+
-
    (function($){
+
-
$(function(){
+
-
    $(".carousel-caption").mCustomScrollbar({
+
-
autoHideScrollbar:true,
+
-
theme:"dark-thin"
+
-
    });
+
-
    $(".scrollContent").mCustomScrollbar({
+
-
autoHideScrollbar:true,
+
-
theme:"dark-thin"
+
-
    });
+
-
    $("#methods").mCustomScrollbar({
+
-
autoHideScrollbar:true,
+
-
theme:"dark-thin"
+
-
    });
+
-
});
+
-
$("#myCarousel").on("slide.bs.carousel", function(){
+
-
    setTimeout(function () { $(".carousel-caption:visible").mCustomScrollbar("update"); }, 1000);
+
-
});
+
-
              $('.nav-tabs a').click(function(){
+
-
    setTimeout(function () { $(".scrollContent").mCustomScrollbar("update"); }, 1000);
+
-
})
+
-
  })(jQuery);
+
-
  </script>
+
</html>
</html>

Latest revision as of 14:37, 4 October 2013