Team:Heidelberg/Templates/Footer-DelRest

From 2013.igem.org

(Difference between revisions)
m
m
Line 60: Line 60:
           <!-- lets have a nicer scrollbar -->
           <!-- lets have a nicer scrollbar -->
-
          <script src="custom-scrollbar-plugin/jquery.mCustomScrollbar.concat.min.js"></script>
 
           <script>
           <script>
    (function($){
    (function($){
Line 68: Line 67:
theme:"dark-thin"
theme:"dark-thin"
    });
    });
-
    $("#scrollContent").mCustomScrollbar({
+
    $(".scrollContent").mCustomScrollbar({
autoHideScrollbar:true,
autoHideScrollbar:true,
theme:"dark-thin"
theme:"dark-thin"
Line 78: Line 77:
});
});
$("#myCarousel").on("slide.bs.carousel", function(){
$("#myCarousel").on("slide.bs.carousel", function(){
 +
    setTimeout(function () { $(".carousel-caption:visible").mCustomScrollbar("update"); }, 1000);
 +
});
 +
              $('#myTab a').click(unction(){
    setTimeout(function () { $(".carousel-caption:visible").mCustomScrollbar("update"); }, 1000);
    setTimeout(function () { $(".carousel-caption:visible").mCustomScrollbar("update"); }, 1000);
})
})

Revision as of 13:17, 30 September 2013