Template:Team:Valencia Biocampus/Templates/Header

From 2014.igem.org

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

Revision as of 02:09, 13 October 2014