Difference between revisions of "Team:Warwick/Modelling2"

Line 94: Line 94:
 
</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:14, 3 September 2015

Warwick iGEM 2015