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('affix.bs.affix', function () { | $('.tocWrapper').on('affix.bs.affix', function () { | ||
- | alert(tocWrapperOffsetLeft ); | + | //alert(tocWrapperOffsetLeft ); |
$('.affix').css('left', tocWrapperOffsetLeft); | $('.affix').css('left', tocWrapperOffsetLeft); | ||
Revision as of 02:12, 13 October 2014