Team:Aalto-Helsinki/footer

From 2014.igem.org

(Difference between revisions)
Line 60: Line 60:
         top: $('.splash').height() * 1.115
         top: $('.splash').height() * 1.115
       }
       }
 +
});
 +
</script>
 +
<script type="text/javascript">
 +
$('.update').waypoint(function(direction) {
 +
  console.log($(this));
 +
  var selector = "#" + ($(this)[0].classList[1]) + "-submenu";
 +
  $('.extrabar a.active').removeClass("active");
 +
  $(selector).addClass("active");
});
});
</script>
</script>

Revision as of 13:47, 28 August 2014