Template:Team:Valencia Biocampus/Templates/Header
From 2014.igem.org
(Difference between revisions)
Line 166: | Line 166: | ||
$('.tocWrapper').on('affixed.bs.affix', function () { | $('.tocWrapper').on('affixed.bs.affix', function () { | ||
//alert(tocWrapperOffsetLeft ); | //alert(tocWrapperOffsetLeft ); | ||
- | |||
$('.affix').css('left', tocWrapperOffsetLeft); | $('.affix').css('left', tocWrapperOffsetLeft); | ||
+ | }) | ||
+ | $('.tocWrapper').on('affixed-top.bs.affix', function () { | ||
$('.affix-top').css('left', 'auto'); | $('.affix-top').css('left', 'auto'); | ||
- | |||
}) | }) | ||
Revision as of 02:23, 13 October 2014