Template:Team:Valencia Biocampus/Templates/Header

From 2014.igem.org

(Difference between revisions)
Line 155: Line 155:
if ($('.tocWrapper').length ) {
if ($('.tocWrapper').length ) {
var tocWrapperOffsetLeft = $('.tocWrapper').offset().left;
var tocWrapperOffsetLeft = $('.tocWrapper').offset().left;
-
alert($('.tocWrapper').offset().top)
+
alert($('.tab-pane.active').offset().top)
$('.tocWrapper').affix({
$('.tocWrapper').affix({
     offset: {
     offset: {

Revision as of 15:30, 13 October 2014