Team:ETH Zurich/Templates/Test2

From 2013.igem.org

(Difference between revisions)
Line 57: Line 57:
<script type="text/javascript">
<script type="text/javascript">
$(document).ready(function(){
$(document).ready(function(){
-
   $('.bxslider').bxSlider();
+
   slider = $('.bxslider').bxSlider();
 +
  $('.bxslider').bind('mousewheel', function(event, delta, deltaX, deltaY) {
 +
            event.preventDefault();
 +
            if (delta < 0) {slider.goToPrevSlide();}
 +
            else {slider.goToNextSlide();}
 +
          });
});
});
 +
</script>
</script>
<div style="min-width:50%;  float: right;">
<div style="min-width:50%;  float: right;">

Revision as of 20:50, 11 September 2013

Header2.png
80px-Eth igem logo.png


ETH's Colisweeper!


- beware not to step on a mine