Team:Heidelberg/Templates/Footer-DelH

From 2013.igem.org

(Difference between revisions)
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...")
 
(6 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-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 + ":first").addClass('active');
+
                         $('.' + 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')[10]).show();
+
   $($('.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')[15]).show();
+
   $($('.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')[20]).show();
+
   $($('.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')[25]).show();
+
   $($('.labjournal-weekly')[22]).show();
 +
  scrollbar.triggerScrollbarUpdate_nav_tabs();
});
});
 +
             </script>
             </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 23:33, 28 October 2013