Team:Heidelberg/Templates/Footer-DelRest

From 2013.igem.org

(Difference between revisions)
m
m
Line 11: Line 11:
             Scrollbar = function(){
             Scrollbar = function(){
               var sb = this;
               var sb = this;
-
               function($){
+
               function(){
    $(function(){
    $(function(){
    $(".carousel-caption").mCustomScrollbar({
    $(".carousel-caption").mCustomScrollbar({
Line 25: Line 25:
theme:"dark-thin"
theme:"dark-thin"
    });
    });
-
});
+
};
$("#myCarousel").on("slide.bs.carousel", sb.triggerScrollbarUpdate(".carousel-caption:visible");});
$("#myCarousel").on("slide.bs.carousel", sb.triggerScrollbarUpdate(".carousel-caption:visible");});
               sb.triggerScrollbarUpdate_nav_tabs();
               sb.triggerScrollbarUpdate_nav_tabs();

Revision as of 16:59, 1 October 2013