Template:Team:Valencia Biocampus/Templates/Header

From 2014.igem.org

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

Revision as of 03:11, 13 October 2014