Team:Heidelberg/Templates/Footer-DelRest

From 2013.igem.org

(Difference between revisions)
m
m
 
(18 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 50: Line 49:
                     $('#myTab a').click(function (e) {
                     $('#myTab a').click(function (e) {
                         e.preventDefault()
                         e.preventDefault()
-
                         $('#myTab a[href="#del_h1"]').tab('show')
+
                         $('#myTab a[href="#a10"]').tab('show')
-
                         $('#myTab a[href="#del_ae1"]').tab('show')
+
                         $('#myTab a[href="#a11"]').tab('show')
-
                         $('#myTab a[href="#del_h2"]').tab('show')
+
                         $('#myTab a[href="#a12"]').tab('show')
-
                         $('#myTab a[href="#del_ae2"]').tab('show')
+
                         $('#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>-->
-
          <!-- 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 () { $(".carousel-caption:visible").mCustomScrollbar("update"); }, 1000);
+
-
})
+
-
  })(jQuery);
+
-
  </script>
+
</html>
</html>

Latest revision as of 14:37, 4 October 2013