Template:Team:Valencia Biocampus/Templates/Header

From 2014.igem.org

(Difference between revisions)
Line 164: Line 164:
   })
   })
var tocWrapperOffsetLeft = $('.tocWrapper').offset().left;
var tocWrapperOffsetLeft = $('.tocWrapper').offset().left;
-
$('.tocWrapper').on('affix.bs.affix', function () {
+
$('.tocWrapper').on('affixed.bs.affix', function () {
//alert(tocWrapperOffsetLeft );
//alert(tocWrapperOffsetLeft );
     $('.affix').css('left', tocWrapperOffsetLeft);
     $('.affix').css('left', tocWrapperOffsetLeft);

Revision as of 02:20, 13 October 2014