Difference between revisions of "Team:Warwick/Modelling2"

Line 93: Line 93:
 
<div class="hr">
 
<div class="hr">
 
</div>
 
</div>
 +
 +
 +
 +
 +
<script>
 +
$(window).on('scroll', function() {
 +
    var y_scroll_pos = window.pageYOffset;
 +
    var scroll_pos_test = 50;            // set to whatever you want it to be
 +
 +
    if(y_scroll_pos > scroll_pos_test) {
 +
      $("#wrapper").toggleClass("toggled");
 +
    }
 +
});
 +
</script>
  
  

Revision as of 10:13, 3 September 2015

Warwick iGEM 2015