Team:Heidelberg/Templates/Footer-DelRest
From 2013.igem.org
(Difference between revisions)
Nils.kurzawa (Talk | contribs) m |
m |
||
Line 60: | Line 60: | ||
<!-- lets have a nicer scrollbar --> | <!-- lets have a nicer scrollbar --> | ||
- | |||
<script> | <script> | ||
(function($){ | (function($){ | ||
Line 68: | Line 67: | ||
theme:"dark-thin" | theme:"dark-thin" | ||
}); | }); | ||
- | $(" | + | $(".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