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('top.bs.affix', function () {
$('.tocWrapper').on('top.bs.affix', function () {
 +
alert(tocWrapperOffsetLeft );
     $('.tocWrapper').css('left', tocWrapperOffsetLeft);
     $('.tocWrapper').css('left', tocWrapperOffsetLeft);

Revision as of 01:32, 13 October 2014