Team:Heidelberg/Templates/Footer-DelRest

From 2013.igem.org

(Difference between revisions)
m
m
 
(10 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>
-
          <!-- lets have a nicer scrollbar -->
+
 
-
          <script>
+
-
            var triggerScrollbarUpdate = function(e){
+
-
                setTimeout(function () { $(e).mCustomScrollbar("update"); }, 1000);
+
-
            };
+
-
            var triggerScrollbarUpdate_nav_tabs = function(){
+
-
                $('.nav-tabs a').click(triggerScrollbarUpdate(".scrollContent"))
+
-
            };
+
-
    (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", triggerScrollbarUpdate(".carousel-caption:visible");});
+
-
              triggerScrollbarUpdate_nav_tabs();
+
-
  })(jQuery);
+
-
  </script>
+
<script type="text/javascript">
<script type="text/javascript">
Line 90: Line 61:
   $('.labjournal-weekly:visible').hide();
   $('.labjournal-weekly:visible').hide();
   $($('.labjournal-weekly')[0]).show();
   $($('.labjournal-weekly')[0]).show();
-
   triggerScrollbarUpdate_nav_tabs();
+
   scrollbar.triggerScrollbarUpdate_nav_tabs();
});
});
Line 97: Line 68:
   $('.labjournal-weekly:visible').hide();
   $('.labjournal-weekly:visible').hide();
   $($('.labjournal-weekly')[5]).show();
   $($('.labjournal-weekly')[5]).show();
-
   triggerScrollbarUpdate_nav_tabs();
+
   scrollbar.triggerScrollbarUpdate_nav_tabs();
});
});

Latest revision as of 14:37, 4 October 2013